Implicit conversion from float -21.296791443850267 to int loses precision