Implicit conversion from float -47.775330396475766 to int loses precision