Implicit conversion from float -23.90625 to int loses precision