Merge pull request #651 from ing-bank/chore/input-amount-improve-decimals-story

chore(input-amount): improve title of story to modify decimal amount
This commit is contained in:
Joren Broekema 2020-03-19 20:41:39 +01:00 committed by GitHub
commit 6dc047bf93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.