Re:Why does 0.1 and 0.2 = 0.30000000000000004?
by mcv on Thursday February 09, 2023 @06:55AM
(#34722642)
That sounds like a recipe for disaster. If you have fractional unit prices, and multiply by the number of units, floats can still give you errors. No, fixed decimal types definitely have their uses.
[ Parent
| on HN ]
There are no comments on this comment yet.