Subtract method (number)
Subtracts a specified number value from this number.
Syntax
number1.Subtract(number2)
Returns the result of subtracting number2 from number1 as a number value.
Example
{% Var totalOranges = 9 %}
{% Var eatenOranges = 4 %}
The remaining number of oranges is: {{ totalOranges.Subtract(eatenOranges) }}
If only three oranges were eaten you would have: {{ oranges.Subtract(3) }}
Remarks
If the result of subtracting of number2 from number1 falls outside the range of permitted values for a number it will cause a template error.