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

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Wed Oct 2 04:22:46 CEST 2002


"Chris Gonnerman" <chris.gonnerman at newcenturycomputers.net> writes:
> If this isn't a good enough definition of "right" for
> you, please tell me what, exactly, is wrong with it.
> What do you need to understand the problem?

We've been over this several times already.  9 bananas at 3 for a dollar.

   (9 * 1) / 3 = 3.00
   9 * (1/3) = 2.97

What part of your definition of "right" says which one of these to choose?



More information about the Python-list mailing list