Skip to content

Commit

Permalink
fix outdated format documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
scurker committed Jul 12, 2020
1 parent cc4aa87 commit bc03eaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/04-i18n.md
Expand Up @@ -7,7 +7,7 @@ const USD = value => currency(value);
const JPY = value => currency(value, { precision: 0, symbol: '¥' });
const EURO = value => currency(value, { symbol: '', decimal: ',', separator: '.' });

USD(1234.567).format(true); // => "$1,234.57"
JPY(1234.567).format(true); // => "¥1,235"
EURO(1234.567).format(true); // => "€1.234,57"
USD(1234.567).format(); // => "$1,234.57"
JPY(1234.567).format(); // => "¥1,235"
EURO(1234.567).format(); // => "€1.234,57"
```

0 comments on commit bc03eaf

Please sign in to comment.