Implicit conversion from float -22.18836565096953 to int loses precision