Made a float an int because the result will be converted to a float
anyway