Decrement

dec  n (number)

Decrement a number by 1. Equivalent to n - 1

Introduced in v2.1

Examples

# Example 1

dec 1



# returns 0



# Example 2

dec -1



# returns -2