Implicit conversion from float -23.849765258215967 to int loses precision