| Syntax | |
| Documentation | Decrements 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}} |
| Group | Math |
| Minimum required transaction-mode: | NONE |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 1 |
| Maximum parameters | 1 |