Skip to main content

Format Number as Text

Overview

Converts a number to a formatted text string

Returns
Text

Parameters

ParameterParameterValid BlocksRequired
Use Dynamic NameShow the Dynamic Name slot in the tree so that it can be set dynamicallyBoolean Block GroupNo
Dynamic NameThe dynamic name of this itemText Block GroupNo
AttributesMetadata values for this block. Used in XML and multipart/form-data.Text Block GroupNo
NumberInput number to convert to textNumber Block GroupNo
Formatting StyleHow the number should be formattedText Block GroupNo
Language (locale) to useLanguage (locale) to useText Block GroupNo
CurrencyThe currency to format the number asText Block GroupNo
No SeparatorCauses a number to be displayed without grouping separators.Boolean Block GroupNo
Use advanced formatting optionsIf on, shows the advanced options for formatting numbersBoolean Block GroupNo
Decimal PlacesThe number of decimal places to outputNumber Block GroupNo
Decimal PlacesThe number of decimal places to output.Number Block GroupNo
Padding WidthIf set, this will pad the start of the number to the specified number of digits (excluding decimals and separators) with 0sNumber Block GroupNo
Padding WidthIf set, this will pad the start of the number to the specified number of digits (excluding decimals and separators) with what is defined as the Padding CharacterNumber Block GroupNo
Padding CharacterDefine a character to use for padding at the beginning of the string (defaults to space)Text Block GroupNo
Rounding IncrementSets the incremental value to which numbers should be rounded. For instance: Increment(0.05) will cause 1.44 to round to 1.45. This also overrides the decimal placesText Block GroupNo
Min Integer DigitsSpecifies the minimum number of integer digits, adding leading zeros when neededNumber Block GroupNo
Max Integer DigitsLimits the number of integer digits, removing the most significant (leading) digitsNumber Block GroupNo
Decimal PlacesThe number of decimal places to output. Simultaneously sets Min and Max Decimal Places to this valueNumber Block GroupNo
Min Decimal PlacesSpecifies the minimum number of decimal places to outputNumber Block GroupNo
Max Decimal PlacesSpecifies the maximum number of decimal places to outputNumber Block GroupNo
PrecisionSets the maximum number of significant digitsNumber Block GroupNo