No way to format percentages including decimals in nl locale

Bug #686058 reported by Wichert Akkerman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zope.i18n
Won't Fix
Undecided
Unassigned

Bug Description

In the nl locale percentages are always formatted without decimals:

>>> locale.numbers.getFormatter("percent").format(50.1)
'50%'

For most other things a locale can format you can use a 'long' length to get more information. No such luck here though:

>>> locale.numbers.getFormatter("percent", length="long").format(50.1)
KeyError: ('long',)

Revision history for this message
Tres Seaver (tseaver) wrote :
Changed in zope.i18n:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.