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

Locale is messing up the percentage fields visualization #76

Open
segdan opened this issue Jul 5, 2022 · 0 comments
Open

Locale is messing up the percentage fields visualization #76

segdan opened this issue Jul 5, 2022 · 0 comments

Comments

@segdan
Copy link

segdan commented Jul 5, 2022

Hi,

I have a problem that seems to be related with the locale of the user that is using the datatable. Basically, when the locale is different from English and the percentage field has 16 or more decimal digits, the percentage gets multiplied by 1000000000000000. Here is an example where the take rate field is set as 0.1000000000000001% and the user locale is Germany(Germany):

image

I've tested this with different locale settings and I can reproduce this with many of those (italy, spain, french, etc..), but when English(US) or English(UK) is selected, the problem disappears. I'm on the 4.0.5 version of the component.

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