Implicit conversion from float -16.400000000000006 to int loses precision