Ecommerce
The Tax Total That Differed by a Cent on Rounding
The invoice rounded each line and the filing rounded the sum, so the two disagreed on multi-item orders, and the difference was small per order and large…
Ecommerce
The invoice rounded each line and the filing rounded the sum, so the two disagreed on multi-item orders, and the difference was small per order and large…
Code Review
The total was computed in binary floating point, so the sum was a cent off on some carts, and the difference only appeared when the decimals did not fit the…