Implicit conversion from float -22.877263581488933 to int loses precision