Implicit conversion from float -319.0909090909091 to int loses precision