Implicit conversion from float -19.345794392523374 to int loses precision