Implicit conversion from float -19.842519685039363 to int loses precision