Implicit conversion from float -49.98609179415857 to int loses precision