Implicit conversion from float -35.599999999999994 to int loses precision