Implicit conversion from float -45.599999999999994 to int loses precision