3 ms·
> Next time you see someone using floating point types for money ... apply that logic to their paycheck and let them deal with being underpaid by a bizarre amo
by derleth 14y ago
> Next time you see someone using floating point types for money
... apply that logic to their paycheck and let them deal with being underpaid by a bizarre amount because of rounding.
Or apply it to their investment accounts so the errors accumulate for a few decades.
Nothing like an object lesson to remedy bad behavior.