Remove unnecessary float cast