Implicit conversion from float -22.375 to int loses precision