Implicit conversion from float -18.267716535433067 to int loses precision