Implicit conversion from float -14.797979797979792 to int loses precision