Paul Rubin wrote: > "Leo Jay" <[EMAIL PROTECTED]> writes: > >>[Decimal("0.25"), Decimal("0.10"), Decimal("0.05"), Decimal("0.01")] > > I wonder if we should have some special syntax for decimals: maybe > > [$.25, $.10, $.05, $.01] > > That would even fit in with decimals being used for financial quantities.
Various versions of the (several) Decimal PEPs had a decimal literal syntax, usually along the lines of 0.25d. Google through the python-dev archives. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list