converting currency using locals

Michael Hoffman cam.ac.uk at mh391.invalid
Wed Apr 18 20:38:26 CEST 2007


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.
-- 
Michael Hoffman



More information about the Python-list mailing list