Repository navigation
Flow action Format Number
Arie J. Godschalk edited this page Nov 15, 2026
·
1 revision
Formats a number as a locale-aware decimal, currency, percent, or unit string.
| Argument | What to enter |
|---|---|
number (Number) |
Number to format. |
style (Style) |
Decimal, Currency, Percent, or Unit; options depend on the style. Choices: Decimal, Currency, Percent, Unit. |
styleOption1 (Style Option 1) |
Style-specific notation, currency, or unit. |
styleOption2 (Style Option 2) |
Style-specific display or grouping option. |
decimals (Decimals) |
Requested decimal precision. |
locale (Locale) |
Optional locale override; otherwise BLL defaults apply. |
| Token | Type | Meaning |
|---|---|---|
result |
string | Formatted result |
Choose a style and its related options; locale and decimal precision are configurable.
Prerequisite: Install Better Logic Library and create the Flow described below. Enter 1234.5, choose Decimal and 2 decimals, then select en-GB. Connect Formatted result to a text card.
The result is formatted text, not a number for arithmetic.
Support development - If Better Logic Library is useful to you, you can support its
continued development through GitHub Sponsors,
Patreon,
PayPal, or
bunq.
Thank you!