Implicit conversion from float -48.87417218543047 to int loses precision