[Python-ideas] Rough draft: Proposed format specifier for a thousands separator (discussion moved from python-dev)

Chris Rebert pyideas at rebertia.com
Thu Mar 12 19:44:13 CET 2009


On Thu, Mar 12, 2009 at 8:40 AM, Bruce Frederiksen <dangyogi at gmail.com> wrote:
> Raymond Hettinger wrote:
>>
>>   James Knight observed that Indian/Pakistani numbering systems
>>   group by hundreds.
>
> I'm not 100% sure here, but I believe that in India, they insert a separator
> after the first 3 digits, then another after 2 more digits, then every 3
> digits after that (not sure if they use commas or periods, I think commas):
>
> 1,000,000,00,000

Not quite. I'm not Indian, but based off Wikipedia
(http://en.wikipedia.org/wiki/Lakh):

"after the first three digits, a comma divides every two rather than
every three digits, thus:
Indian system: 12,12,12,123    5,05,000    7,00,00,00,000"

Cheers,
Chris

-- 
I have a blog:
http://blog.rebertia.com



More information about the Python-ideas mailing list