Skip to content

Commit e199562

Browse files
jessealamaeemeli
andauthored
Update README.md
Co-authored-by: Eemeli Aro <eemeli@gmail.com>
1 parent 5c117ee commit e199562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ console.log(formatter.format(amount));
9191
We propose a `Decimal.Amount` object to store a Decimal value together with precision information. This is especially useful in formatting Decimal values, especially in internationalization and localization contexts.
9292

9393
```js
94-
let a = Decimal.Amount.from("1.90").with({ fractionDigit: 4 });
94+
let a = Decimal.Amount.from("1.90").with({ fractionDigits: 4 });
9595
const formatter = new Intl.NumberFormat("de-DE");
9696
formatter.format(a); // "1,9000"
9797
```

0 commit comments

Comments
 (0)