Implicit conversion from float -46.40625 to int loses precision