
March 21, 2010
11:12 p.m.
Steven D'Aprano wrote:
Then they're in for a terrible, terrible disappointment. Rounding issues don't go away because you're using Decimal instead of float,
No, but what I mean is that they prefer to be surprised in unsurprising ways, so to speak. Everyone knows that floating point numbers have limited precision. What really surprises people is when *binary* floating point numbers behave differently from the decimal ones they're used to. -- Greg