Implicit conversion from float -24.389027431421454 to int loses precision