Implicit conversion from float -179.85645933014354 to int loses precision