chore(input-amount): improve title of story to modify decimal amount

This commit is contained in:
Wessel Loth 2020-03-19 15:34:10 +01:00
parent 3d88c58510
commit efdd858dfb

View file

@ -141,7 +141,7 @@ loadDefaultFeedbackMessages();
></lion-input-amount>
```
### Show no decimals
### Modifying the amount of decimals
You can override certain formatting options similar to how you would do this when using <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat" target="_blank">Intl NumberFormat</a>.
This example shows formatting to whole numbers.