Implicit conversion from float -40.39340101522845 to int loses precision