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 ad87b71 commit 45f3675Copy full SHA for 45f3675
packages/bignumber/src.ts/fixednumber.ts
@@ -72,7 +72,7 @@ export function parseFixed(value: string, decimals?: BigNumberish): BigNumber {
72
if (decimals == null) { decimals = 0; }
73
const multiplier = getMultiplier(decimals);
74
75
- if (typeof(value) !== "string" || !value.match(/^-?[0-9.,]+$/)) {
+ if (typeof(value) !== "string" || !value.match(/^-?[0-9.]+$/)) {
76
logger.throwArgumentError("invalid decimal value", "value", value);
77
}
78
0 commit comments