Re: Intl API percent formatting question (spec related)

2012-08-20 Thread Norbert Lindenberg
On Aug 20, 2012, at 17:17 , Nebojša Ćirić wrote: > One of the tests was failing with a message: 1.1% formatted as 2%. > > Looking at the algorithm for 11.1.1.1 > InitializeNumberFormat (numberFormat, locales, options), steps 25 - 29 I > think the test shouldn't fail. The actual formatting isn'

Intl API percent formatting question (spec related)

2012-08-20 Thread Nebojša Ćirić
One of the tests was failing with a message: 1.1% formatted as 2%. Looking at the algorithm for 11.1.1.1 InitializeNumberFormat (numberFormat, locales, options), steps 25 - 29 I think the test shouldn't fail. 25. If s is "currency" then let mnfdDefault be cDigits; else let *mnfdDefault be 0*. //