$inc

Increments a given numeric value.
Syntax
    $inc{numeric_value}
DocumentationIncrements the given numeric value:
    Parameters:
      numeric_value, the numeric decimal value to be incremented.
    Returns:
      the given value, incremented.
    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{$inc{10}}{$add{10}{1}}
GroupMath
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1