We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78339a3 commit 884968cCopy full SHA for 884968c
src/utils.tsx
@@ -83,12 +83,12 @@ export function getValueFromCurrencyMask({
83
maxDecimalPlaces !== undefined ? maxDecimalPlaces : 2;
84
85
if (divider === ',') {
86
- // en-US format: 123,456.00
+ // en-US uses dot as decimal separator and comma for thousands
87
return newValueAsNumber.toLocaleString('en-US', {
88
maximumFractionDigits: decimalPlaces,
89
});
90
} else {
91
- // de-DE German uses comma as decimal separator and period for thousands
+ // German uses comma as decimal separator and period for thousands
92
return newValueAsNumber.toLocaleString('de-DE', {
93
94
0 commit comments