Implicit conversion from float -17.65342960288808 to int loses precision