Implicit conversion from float -940.909090909091 to int loses precision