It's OK to Use Floating Point for Money
1 points
2 hours ago
| 1 comment
| suricrasia.online
| HN
b9apratus
1 hour ago
[-]
> So relax, we'll let slide Those pennies overspent; The deficit will be covered From our own pocket. And as for the money that Appeared from thin air: Keep it, and treat me To something nice.

So says “anthropomorphic sharks in maid outfits.” If it is someone else’s money, aka “a billing system”, stick to decimals.

reply