[Python-ideas] Decimal literal?

Raymond Hettinger python at rcn.com
Thu Dec 4 10:56:58 CET 2008


From: "Cesare Di Mauro" <cesare.dimauro at a-tono.com>
> But at least it will be more usable to have a short-hand for decimal
> declaration:
> 
> a = 1234.5678d

How often do you put non-integer constants in real programs?
Don't you find that most real decimal apps start with external
data sources instead of all the data values being hard-coded
in your program?



More information about the Python-ideas mailing list