Closed de-don closed 2 years ago
There is a problem in Russian locale:
const d1 = new Decimal('0.05'); const stringValue = d1.toString(); console.log(stringValue) // Output: 0,05 (with comma); const d2 = new Decimal(stringValue); // ERROR Error: Uncaught (in promise): Error: [DecimalError] Invalid argument: 0,05
decimal.js@10.3.1
Oh no, it's my fault.
There is a problem in Russian locale:
decimal.js@10.3.1