Implicit conversion from float -50.19999999999999 to int loses precision