Implicit conversion from float -17.859531772575252 to int loses precision