Fix rounding error on mysqli