Implicit conversion from float -42.172131147540966 to int loses precision