$dec

Decrements a given numeric value.
Syntax
    $dec{numeric_value}
DocumentationDecrements the given numeric value:

    Parameters:
      numeric_value, the numeric decimal value to be decremented.
    Returns:
      the given value, decremented.
    Throws:
      an java.lang.NumberFormatException if the given argument is not a numeric decimal value.
Examples
$add can be used alternatively. The following statement will always return 1 (true):

    $equals{$dec{10}}{$add{10}{-1}}
GroupMath
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1