3 ms·
> I've often used floating point for currency The question is WHY? Because decimal types are barely second class citizens across the stack. Is similar with dat
by mamcx 6y ago
> I've often used floating point for currency
The question is WHY? Because decimal types are barely second class citizens across the stack. Is similar with dates.
Bad defaults are bad, and requiere stupid amounts of workarounds.
And just because excel do it?
https://en.wikipedia.org/wiki/Numeric_precision_in_Microsoft_Excel https://en.wikipedia.org/wiki/Numeric_precision_in_Microsoft...
Excel is amalgamation of surprises that are not fixed.And when you put the CORRECT results, the users demand that we give the same wrong results as excel!