Decimal arithmatic, was Re: Python GUI app to impress the boss?

Paul Rubin phr-n2002b at
Mon Sep 30 05:19:33 CEST 2002

"Chris Gonnerman" <chris.gonnerman at> writes:
> > >>> (.70 * .05) + .000000001
> > 
> > rounds to the right thing.
> Cool.  Now PROVE that's right in all cases.

What do you mean by "right"?  What do you mean by "all cases"?

> Like I said, decimal arithmetic is STILL the only choice.

I'm not convinced decimal arithmetic is "right in all cases".

More information about the Python-list mailing list