Community

Rounding Down, Bankers Rounding, and Random Rounding in MySQL

(Rob Gravelle) For most applications, MySQL’s Round() function is more than adequate. It uses Half Away From ZERO rounding, whereby numbers whose last digit is 5 or greater are rounded up to the next significant digit away from zero. The problem with that – and many other rounding algorithms – is th

Read More - Register for Free Membership