Implicit conversion from float -18.591549295774655 to int loses precision