PEP 327: Decimal Data Type

Christopher Koppler klapotec at chello.at
Fri Jan 30 19:12:34 CET 2004


On Fri, 30 Jan 2004 16:03:55 +0000, Stephen Horne
<steve at ninereeds.fsnet.co.uk> wrote:

[snip]
>
>That said, there are cases where a decimal type would be genuinely
>useful. Given that, my only comment on the PEP is that a decimal
>literal might be a good idea - identical to float literals but with a
>'D' appended, for instance.

Or, maybe if money is being represented, appending a '$'?

*ducks*

Just-couldn't-resist-ly yours,

--
Christopher



More information about the Python-list mailing list