Took me 8 days to notice a simple rounding glitch in our babble payouts
The numbers looked fine on my sheet but the totals kept ending 3 cents off for a week until I finally checked the code and saw it was just truncating instead of rounding, has anyone else burned that much time on a tiny math bug?
8 days on a rounding bug sounds like a blessing in disguise. If your numbers are off by pennies, that means the math is working right everywhere else. Most folks would kill for a system where the only problem is a few cents. And frankly, truncating is almost always the right call when you're dealing with payouts. Rounding up means you're giving away money that doesn't belong to anyone. That's how you end up with real losses down the line.