Implicit conversion from float -50.82397003745319 to int loses precision