Implicit conversion from float -50.50966608084357 to int loses precision