Implicit conversion from float -179.17808219178085 to int loses precision