DEC
decrements by 1 a value such as a number, string or an array of numbers or strings.
Function category: Statistical​
DEC(arg1)
Arguments | Description |
| A number, string or an array of numbers or strings (or any value thing that can be parsed into a number). |
let's say we have the following field reference with a numeric value.
findEngineByID.body.price = 4800
If we want to decrement the price value by 1, use the following function.
# Decrement value by 1DEC(findenginebyid.body.price)​# Returns 4799