Implicit conversion from float -171.25 to int loses precision