input: 1234567
current: 1,234,567
expect: 123,4567 or 123 4567
this code doesn’t work, still give me: 1,234,567
#,####
I can use this code:
#","####
but it has flaws. when there are not enough digits, the separator (comma) does not disappear.
123,4567 ← good
,123 ← bad
How to change “Thousands separator” to “Ten Thousands separator”?