10 ms·
> no currency is defined for transaction below two decimal points [ISO 4217 would disagree](https://en.wikipedia.org/wiki/ISO_4217 https://en.wikipedia.org/wik
by stephenr 3y ago
> no currency is defined for transaction below two decimal points
[ISO 4217 would disagree](https://en.wikipedia.org/wiki/ISO_4217 https://en.wikipedia.org/wiki/ISO_4217)
To be clear I don't think you should use floating point numbers for storing/calculating amounts;
But the irony of being wrong is not lost on me.
- WalterBright 3y agoGreen stamps used to have values in a tenth of a cent. Green stamps were never legal tender, but they were a form of currency. https://www.nj.com/union/2017/02/made_in_jersey_sh_green_stamps_--_in_the_sixties_a.html https://www.nj.com/union/2017/02/made_in_jersey_sh_green_sta...
- NikkiA 3y agoThat list has several 3 and 4 digit entries, so the assumption 'no currency is defined for transaction below two decimal points' is indeed a fallacy. Did you misunderstand the statement as being a truthy claim rather than a false claim?
- stephenr 3y agoIt isn't phrased as a fallacy, it's phrased as an argument against using a float. There's obviously some difference of opinion about what "below two decimal points" means. Given that they point out the 0 decimal point Yen, it seems they mean "more precise than", ie more decimal points. Even if they meant the opposite their own example of the yen disproves that.