[issue42156] Currency not correct for all locales

2020-10-26 Thread Stefan Völkl
Stefan Völkl added the comment: >>> locale.localeconv() {'int_curr_symbol': 'EUR ', 'currency_symbol': '€', 'mon_decimal_point': ',', 'mon_thousands_sep': '.', 'mon_grouping': [3, 3, 0], 

[issue42156] Currency not correct for all locales

2020-10-26 Thread Stefan Völkl
New submission from Stefan Völkl : 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&quo