Implicit conversion from float -22.625 to int loses precision