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

Decimal number with thousandSeparator error #7

Closed
athivvat opened this issue Nov 9, 2016 · 1 comment
Closed

Decimal number with thousandSeparator error #7

athivvat opened this issue Nov 9, 2016 · 1 comment

Comments

@athivvat
Copy link

athivvat commented Nov 9, 2016

Display error when pass value in decimal format with thousandSeparator option

<NumberFormat value={24569.81} displayType={'text'} thousandSeparator={true} prefix={'$'} />

The output is $2,456,981 it's should be $24,569.81

s-yadav added a commit that referenced this issue Dec 4, 2016
- Support decimals
- Support changing thousandSeparator to ','
- Updated complete code to ES6
- Added propTypes validation
@s-yadav
Copy link
Owner

s-yadav commented Dec 4, 2016

Fixed

@s-yadav s-yadav closed this as completed Dec 4, 2016
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

2 participants