Skip to content

Locale is messing up the percentage fields visualization #76

@segdan

Description

@segdan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions