This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
locale pt_BR
- From: Antonio Prado <suporte at antonioprado dot eti dot br>
- To: libc-locales at sources dot redhat dot com
- Date: Thu, 19 Oct 2006 08:58:02 -0300
- Subject: locale pt_BR
Locale pt_BR groups through the property grouping?
I am trying to format one string using locale but I am not having
success with the property grouping.
>>>locale.setlocale(locale.LC_ALL, '')
'pt_BR.UTF-8'
>>>locale.format("%.2f", 12345678.1, True)
'12345678,10'
It would have:
'12.345.678,10'
I use Python and Linux/Ubuntu.
Thanks.
--
Antonio Prado
--------------------------------------
Analista de Sistemas.
sÃtio: http://www.antonioprado.eti.br
email: suporte@antonioprado.eti.br
msn..: suporte@antonioprado.eti.br
skype: suporte_prado
--------------------------------------