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

Not sure if grouping separator is correctly handled when formatting. #267

Open
mP1 opened this issue Jun 27, 2023 · 0 comments
Open

Not sure if grouping separator is correctly handled when formatting. #267

mP1 opened this issue Jun 27, 2023 · 0 comments

Comments

@mP1
Copy link
Owner

mP1 commented Jun 27, 2023

https://docs.oracle.com/javase/8/docs/api/java/text/DecimalFormat.html

The grouping separator is commonly used for thousands, but in some countries it separates ten-thousands. The grouping size is a constant number of digits between the grouping characters, such as 3 for 100,000,000 or 4 for 1,0000,0000. If you supply a pattern with multiple grouping characters, the interval between the last one and the end of the integer is the one that is used. So "#,##,###,####" == "######,####" == "##,####,####".
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