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

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Sun Sep 29 23:19:33 EDT 2002


"Chris Gonnerman" <chris.gonnerman at newcenturycomputers.net> 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