Implicit conversion from float -18.80149812734082 to int loses precision