papandreou / inter

A JavaScript locale library based on information extracted from the Unicode CLDR database
BSD 3-Clause "New" or "Revised" License
21 stars 5 forks source link

Allow setting precision for renderPercentage method #8

Closed ragulka closed 10 years ago

ragulka commented 10 years ago

I know the original ICU implementation does not provide this, but it makes a lot of sense. User should be able to provide the precision for renderPercentage method. Sometimes it is necessary to show something like 0.5%. Currently, it's only possible to go as low as 1%.

ragulka commented 10 years ago

Sorry, didn't read documentation