converting currency using locals

Grzegorz Ślusarek gregtech at wp.pl
Wed Apr 18 16:04:30 EDT 2007


Dnia Wed, 18 Apr 2007 19:38:26 +0100, Michael Hoffman napisał(a):

> Grzegorz Ślusarek wrote:
>> Hi all. I have situation that I have value that holds price and I must show
>> this price using national specification(e.g. thousands_sep). Any idea how
>> this can be done under python 2.4.4? I saw that function format from module
>> locals can format value with national specification, but this could be done
>> only in python 2.5. Any solution for 2.4?
> 
> I think you mean locale, for anyone else who was puzzled by this.

Upss, I'm sorry ofcourse I was thinking about locale.
Grzegorz Ślusarek



More information about the Python-list mailing list