Implicit conversion from float -17.844474761255114 to int loses precision