Rough draft: Proposed format specifier for a thousands separator
John Nagle
nagle at animats.com
Fri Mar 13 19:35:54 EDT 2009
Lie Ryan wrote:
> Hendrik van Rooyen wrote:
>> "Ulrich Eckhardt" <eck...aser.com> wrote:
>> Look back in history, and see how COBOL did it with the
>> PICTURE - dead easy and easily understandable.
>> Compared to that, even the C printf stuff and python's %
>> are incomprehensible.
>>
>> - Hendrik
Yes. In COBOL, one writes
PICTURE $999,999,999.99
which is is way ahead of most of the later approaches.
John Nagle
More information about the Python-list
mailing list