Implicit conversion from float -17.57961783439491 to int loses precision