Implicit conversion from float -20.970231532524807 to int loses precision