Count Down to Zero

Emile van Sebille emile at fenx.com
Sun Sep 24 00:14:52 CEST 2000


Now that I see this again, is automatic conversion of
integers to longs planned to become a reality?  I heard some
talk of this a while back and would like to see it happen at
some point.  Anyone aware of a schedule?

--

Emile van Sebille
emile at fenx.com
-------------------


"Kragen Sitaker" <kragen at dnaco.net> wrote in message
news:Ei9z5.1863$ie7.342377 at news-east.usenetserver.com...
> In article <39CCDF83.BFB5058 at tcac.net>,
> Albert Wagner  <alwagner at tcac.net> wrote:
> >Everyone seems to have had a lot of fun with this.  But
Tim Peters and
> >others offered the only solutions: fixed point rather
than floating
> >point.  If you live in the "real" world of business and
need to deal
> >with things like money then deal in integer pennies, not
dollars.
> >Render the printout yourself.
>
> You might want to deal in long pennies instead of integer
pennies.  It
> would be a shame for your customers to suddenly have
negative account
> balances when they have more than 20 million dollars in
their bank
> accounts.  This is still a problem using floating-point
numbers, but
> less of one, and it manifests differently.
> --
> <kragen at pobox.com>       Kragen Sitaker
<http://www.pobox.com/~kragen/>
> Perilous to all of us are the devices of an art deeper
than we ourselves
> possess.
>                 -- Gandalf the Grey [J.R.R. Tolkien, "Lord
of the Rings"]




More information about the Python-list mailing list