DEC(<#var>,[amount])

Category
Variables
Added in
v0.8.2

Decrements the specified counter by 1 or by the specified amount

Example

#number = 5

DEC(#number)
// Outputs 4
LOG(%#number%)

DEC(#number,3)
// Outputs 1
LOG(%#number%)