Skip to content

Flow action Format Number

Arie J. Godschalk edited this page Nov 15, 2026 · 1 revision

Format number

Home · Flows · Actions

Purpose

Formats a number as a locale-aware decimal, currency, percent, or unit string.

Arguments

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.

Outputs

Token Type Meaning
result string Formatted result

How it works

Choose a style and its related options; locale and decimal precision are configurable.

Example

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.

Limitations and tips

The result is formatted text, not a number for arithmetic.

Related guides

Clone this wiki locally