Format Currency

data · A189 · starter-package 7.0.1

The Format Currency block for Nodestly workflows applies currency formatting to a value.

Use it when

Format a bounded amount with a three-letter currency code and explicit locale separators.

Inputs and outputs

  • Value — number, required.
  • Currency — text, required.
  • Decimals — number, optional.
  • Formatted currency — output text.

Controls

  • Locale — default en-us; choices: en-us, nl-nl.
  • Grouping — default true; choices: true, false.

Rules

Currency must be exactly three uppercase letters. The deterministic result prefixes that code instead of guessing a localized symbol; value, decimals, grouping, and separators follow Format Number limits.

Example

1234.5, EUR, and Dutch separators returns EUR 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.

IDSettingControlDefaultBounds/options
localeLocaletoggleen-usoptions: English (US) (en-us), Dutch (NL) (nl-nl)
groupingGroupingtoggletrueoptions: 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.

DirectionConnectorTypeRequired
Inputvalue — Valuenumberyes
Inputcurrency — Currencytextyes
Inputdecimals — Decimalsnumberno
Outputresult — Formatted currencytexton success