[Python-Dev] prePEP: Money data type

Alex Martelli aleaxit at yahoo.com
Tue Oct 21 05:13:41 EDT 2003


On Monday 20 October 2003 10:54 pm, Batista, Facundo wrote:
    ...
> Triming formatting, adding different types of rounding, and allowing
> strings with engineering notation. Maybe is better to build a Decimal class
> (kind of FixedPoint) easily subclassable to make a Money one.

Sure, arithmetic (including rounding) is what we most need.  If we call
it Decimal or whatever, that may be preferable to Money, I don't know.


Alex




More information about the Python-Dev mailing list