Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add currency symbols support in currency module #750

Open
ghost opened this issue Aug 3, 2023 · 1 comment
Open

Add currency symbols support in currency module #750

ghost opened this issue Aug 3, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 3, 2023

currency: {
     code: 'USD',
     base: 10,
     exponent: 2,
}
currency: {
     code: 'USD',
     base: 10,
     exponent: 2,
    symbol:'$'
}
@phips-git
Copy link

You can display the symbol by using the toLocaleString number method with type currency as described here in the new documentation. It will display the symbol according to your provided currency code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant