format number

This block is part of the value group and was last modified in core v10.4.28.

format number v10.4.28

In pins 4
  • number required
    number
  • Sep thou required
    value

    Default .

  • Sep dec required
    value

    Default ,

  • Dec places required
    number

    How many decimals to round to. Left unwired this block uses 2; the maximum is 100

    Default uses decimals_default system setting

Out pins 1
  • value
    value

Formats a number as a string with EUROPEAN defaults: thousand separator ".", decimal separator ",", ROUNDED to dec_places decimals (default 2, capped at 100). dec_places of 0 omits the decimal separator entirely; large values keep full precision via arbitrary-precision parsing; unparseable input formats as 0. Example: 1234567.891 -> "1.234.567,89".

A typical wiring for format number: value feeds the sep_thou pin; number feeds the number pin; the value out pin feeds convert to uppercase.

Studio canvas example for the format number block: typical wiring for format number.

Commonly used with

In production blueprints, this block is most often wired together with:

  • value: feeds into this block. Simply returns the provided value.
  • number: feeds into this block. Generates a valid number from the filled custom value in the blueprint.
  • get fields: feeds into this block. Gets the selected fields from the given object.
  • new object: this block feeds into it. Builds a new object filled with the given fields.

Version history

Introduced in v10.4.28.


Back to value Return to the main group to view all sub-groups Back to value Return to the group to view all blocks within this group