Implicit conversion from float -17.338403041825103 to int loses precision