--- title: "$Decrement" ---
This is generated from the built in components of Otter 2023.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Functions within your Otter instance to see exactly what operations are available.

Returns a string that contains the result of decrementing a value.

Script usage:

$Decrement(value, [amount])

Parameters:

NameDescription
valueThe value to decrement.
amountThe amount that will be subtracted from the value. If not specified, 1 is used.

See also: