Quantcast
Channel: Database Journal
Viewing all articles
Browse latest Browse all 151

Rounding Down, Bankers Rounding, and Random Rounding in MySQL

$
0
0

Over time, applying the same rounding algorithm to many numbers can lead to a condition known as rounding bias. Rob Gravelle presents some rounding implementations in MySQL that attempt to eliminate (or at least reduce) rounding bias.


Viewing all articles
Browse latest Browse all 151

Trending Articles