format number language-sensitive

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

format number language-sensitive v10.4.28

Formats a number in compact notation with K/M/B/T suffixes. The output is always en-US; the language pin is not read by the implementation.

In pins 2
  • number required
    number
  • language
    value

    Not read by this block. The output is always en-US compact notation, whatever this pin is set to

Out pins 1
  • output
    value

    Returns the formatted value

Formats the number in en-US COMPACT notation with about 2 significant digits and K/M/B/T suffixes; the language pin is IGNORED by the implementation, so output is not locale-sensitive despite the label. Non-numeric input outputs "". Example: 12600 -> "13K", 1200 -> "1.2K".

A typical wiring for format number language-sensitive: number feeds the number pin; the output out pin feeds convert to uppercase.

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

Version history

Introduced in v10.4.28.


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