# Pattern: Rounding errors ## Description Demo pattern: naive rounding gives wrong answers. ## Root cause Skipping the final rounding step. ## Workaround Always round the final result to 2 decimals.