Implicit conversion from float -51.214750542299356 to int loses precision