Implicit conversion from float -171.8303571428571 to int loses precision