Implicit conversion from float -20.40172166427547 to int loses precision