Against PEP 240

Aahz Maruch aahz at panix.com
Sat Jun 2 15:22:57 EDT 2001


In article <mailman.991505224.22925.python-list at python.org>,
Roman Suzi  <rnd at onego.ru> wrote:
>
>This said, what is the right way to deal with
>currencies in Python right now?

Tim Peters's FixedPoint.py:

ftp://ftp.python.org/pub/python/contrib-09-Dec-1999/DataStructures/FixedPoint.py

You *probably* want to set the precision to three or four places so that
rounding errors don't propagate.
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het Pythonista   http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

I surf faster than you do, monkey boy.  (My take on Netscape vs. Lynx)



More information about the Python-list mailing list