Implicit conversion from float -9.875 to int loses precision