Implicit conversion from float -10.512820512820511 to int loses precision