Implicit conversion from float -18.72 to int loses precision