New submission from Stefan Völkl <[email protected]>:
I found that the currency formatting does not work correctly for all locales.
For example:
{{{
import locale
amount = 24.99
locale.setlocale(locale.LC_ALL, 'it_IT.UTF-8')
price = locale.currency(amount)
print(price)
}}}
returns "€ 24,99".
It should return "24,99 €", just like noted at
http://publications.europa.eu/code/it/it-370303.htm
under "Posizione del simbolo (€) negli importi in cifre".
----------
components: Library (Lib)
messages: 379662
nosy: GiftZwergrapper, lemburg
priority: normal
severity: normal
status: open
title: Currency not correct for all locales
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42156>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com