Implicit conversion from float -22.75 to int loses precision