The Format Number block for Nodestly workflows applies numeric formatting to a value.
Use it when
Format a bounded number with explicit decimal places, grouping, and English or Dutch separators.
Inputs and outputs
- Value —
number, required. - Decimals —
number, optional. - Formatted number — output
text.
Controls
- Locale — default
en-us; choices:en-us,nl-nl. - Grouping — default
true; choices:true,false.
Rules
Value is bounded to ±10^15 and Decimals to 0-12. Formatting uses fixed decimal rounding and explicit English (comma group, dot decimal) or Dutch (dot group, comma decimal) separators; output is text.
Example
1234.5, 2 decimals, Dutch locale, and grouping returns 1.234,50.
Failure behavior
Missing inputs, wrong connector values, unsafe records, unsupported values, cycles, unsupported modes, and size-limit violations stop the workflow and mark this block. Correct the highlighted connector or setting, then run again. Inputs are never changed.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
locale | Locale | toggle | en-us | options: English (US) (en-us), Dutch (NL) (nl-nl) |
grouping | Grouping | toggle | true | options: On (true), Off (false) |
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.
Connector data types
The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | value — Value | number | yes |
| Input | decimals — Decimals | number | no |
| Output | result — Formatted number | text | on success |
