Function Block NUMBER_FORMAT

The function block NUMBER_FORMAT formats a number.

Note: If you only want to round, use the function block ROUND instead.

Input NUMBER

The input defines the number that is formatted.

Input DECIMALS

The input defines the number of decimal places as an integer to which it is rounded.

Input DEC POINT

The input defines the decimal point as a string. If no input is defined or the value is equal to NULL, then the string "." (dot) is used.

Input THOUSANDS SEP

The input defines the thousands separator as a string. If no input is defined or the value is equal to NULL, then the string "," (comma) is used.

Output

Returns the formatted number as a string.