Implicit conversion from float -40.625 to int loses precision