Implicit conversion from float -18.06916426512967 to int loses precision