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

No thousandsSep #914

Open
psohm opened this issue Apr 23, 2018 · 1 comment
Open

No thousandsSep #914

psohm opened this issue Apr 23, 2018 · 1 comment

Comments

@psohm
Copy link

psohm commented Apr 23, 2018

Hello
I'd like to remove thousandsSep
is it possible ?
When I write that format the component isn't loaded

            var intFormat = numberFormat({thousandsSep:'',digitsAfterDecimal: 0});

Regards

@kjeldahl
Copy link

The problem is in this line

x1 = x1.replace(rgx, '$1' + thousandsSep + '$2') while rgx.test(x1)

in the while part as there are no changes to the string x1 if thousandsSep is the blank string.
A check should be added in case thousandsSep is blank.

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