$numberFormat

Formats the given decimal value to have the specified decimal digits.
Syntax
    $numberFormat{decimal_value}{decimal_digits}
DocumentationFormats the given decimal value to have the specified decimal digits:

    Parameters:
      decimal_value, the decimal value to be formated.
      decimal_digits, the number of decimal digits the given value shall have.
    Returns:
      the given decimal value with the given number of decimal digits.
Examples
Example 1:
    $numberFormat{20.89}{3}

    Result:
    20.890
Example 2:
    $numberFormat{20.89}{2}

    Result:
    20.89
Example 3:
    $numberFormat{20.89}{0}

    Result 3:
    20
GroupString
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters2
Maximum parameters 3