Implicit conversion from float -18.831521739130437 to int loses precision