Steven D'Aprano wrote:

> On Thu, 05 Aug 2010 00:22:57 -0700, geremy condra wrote:
> 
>>>>>> locale.setlocale(locale.LC_ALL, "")
>>> 'de_DE.UTF-8'
>>>>>> print locale.currency(13535, grouping=True)
>>> 13.535,00 €
>>>>>> print locale.format("%d", 13535, grouping=True)
>>> 13.535
>>>
>>> Peter
>> 
>> I had literally no idea this existed. Thanks.
> 
> I knew it existed, but completely forgot about it.
> 
> Thanks also Peter.

You're welcome!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to