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

Steve Holden sholden at holdenweb.com
Mon Sep 30 14:00:27 EDT 2002


>
> Steve Holden wrote:
>
> ><sismex01 at hebmex.com> wrote...
> >
> >
> >[ ... ]
> >OK, so don't use whole pennies (or smallest currency) as your
> >base, use 10,000ths of a penny, but still use integer arithmetic
> >for your calculations.
> >
> Normal Integers aren't big enough.  2^31 / 10K == 215K.
>

Please note that the remark you are responding to was made by the poster you
quote me as quoting.

regards
-----------------------------------------------------------------------
Steve Holden                                  http://www.holdenweb.com/
Python Web Programming                 http://pydish.holdenweb.com/pwp/
Previous .sig file retired to                    www.homeforoldsigs.com
-----------------------------------------------------------------------







More information about the Python-list mailing list