Implicit conversion from float -18.235294117647058 to int loses precision