Implicit conversion from float -22.400000000000006 to int loses precision