Looking at the source, it appears that support for that is spotty -- on
Android, it is hard-coded to '0'.

On iOS, it corresponds to the 'roundingIncrement' returned from
CFNumberFormatterGetDecimalInfoForCurrencyCode. In Ubuntu, I *think* it
corresponds to the same value.

That value should be the smallest unit of a currency -- the number that all
amounts are rounded to. For USD, it would be "0.01"; for JPY, it would be
1.00.

It doesn't necessarily correspond to the number of decimal places; a
country which used dollars and cents but rounded all prices to the nearest
nickel would have 2 decimal places, but rounding would be 0.05.




On Thu, Jan 16, 2014 at 9:54 PM, John Wargo <[email protected]> wrote:

> In the docs it says that the result value for Rounding is:
>
>  *
>
>    *rounding*: The rounding increment to use when parsing and
> formatting./(Number)/
>
> Can someone tell me what that means? I googled around and couldn't find
> anything conclusive.
>
>

Reply via email to