githubEdit

Number

Number Formatting

  • Decimal places and thousands separators.

  • Currency and percentage formatting.

  • Default value.

  • Display rules.

First, click on the token. To format it, you can go to the properties tab, click on the cog icon, or even double-click the token.

This pop-up will show up. There you'll be able to set up the number formatting:

Plain Number

For a plain number, you can leave it as Plain in the Number Type. And to format it, just click on the dropdown and select the number of decimal places you want to display.

Currency

And to format a currency, select Currency in the Number Type. Then choose the number of decimal places you want to display. You can also select a locale to display the currency and separators according to the wanted location.

Percentage

For the percentage, just choose Percent as the Number Type. Here you can also select the number of decimal places.

Custom Formatting

If you need to change the thousands and decimal separators, you can select custom in the dropdown.

Last updated

Was this helpful?