8000 Remove decimals · Issue #3 · xDae/react-currency-formatter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove decimals #3

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

Open
sweetroll opened this issue Feb 5, 2018 · 2 comments
Open

Remove decimals #3

sweetroll opened this issue Feb 5, 2018 · 2 comments

Comments

@sweetroll
Copy link

Hi,

Is there a way to remove the decimal places of a value while still maintaining the pattern for the various currencies (ie. EUR symbol after value)

Thanks

@xDae
Copy link
Owner
xDae commented Feb 5, 2018

@sweetroll at the moment is not possible to remove the decimals, I will try to find a moment to make it possible, also, feel free to contribute and make a pull request 🚀

@guillaumebdx
Copy link

If anybody need to do that, you can use this pattern :
pattern= "##,### !"

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

No branches or pull requests

3 participants
0