Skip to content

Currency formatter failing for JPY #565

@cahuja

Description

@cahuja

Here is the currencyFormatter that is failing -
Globalize.currencyFormatter ( "JPY" , { maximumFractionDigits : 2 } );

Uncaught minimumFractionDigits: E_PAR_OUT_OF_RANGE: Parameter minimumFractionDigits has value NaN out of range [0, 20].createError @ app.js:8204

However, the following call -
Globalize.currencyFormatter ( "JPY" );
results in no errors.

It seems like setting maximumFractionDigits for JPY causes the following error by wiping out other properties that should have default values

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions