Skip to content

Currency representation for INR #231

Closed

Description

@seekshiva

Hi, when I give

  <FormattedNumber
    value={2344}
    style="currency"
    currency="INR"
  />

I get the output as Rs.2,344.00.

Is there a way to make it appear as ₹2,344.00 instead?

Activity

  1. seekshiva commented on Nov 30, 2015

    @seekshiva
    Author

    should I file an issue under formatjs parent project?

  2. ericf commented on Dec 1, 2015

    @ericf
    Collaborator

    What locale is this running in?

  3. ericf commented on Dec 1, 2015

    @ericf
    Collaborator

    I'm guessing you're seeing this in v8/Chrome, and I can confirm that even when using the currencyDisplay set to 'symbol' (which is the default) 'Rs.' is used in place of '₹'. Firefox is doing the correct thing and showing the symbol.

    Would you want to file this as a bug against v8/Chrome for its Intl.NumberFormat implementation?

  4. seekshiva commented on Dec 1, 2015

    @seekshiva
    Author

    Looks like v8-i18n project is no longer applicable as it was merged into v8. I've filed an issue in V8 at https://code.google.com/p/v8/issues/detail?id=4584

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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