Implicit conversion from float -22.594936708860757 to int loses precision