Math.Dec¶
| Name | Mandatory | Description | Default | Type |
|---|---|---|---|---|
⬅️ Input |
The float or integer (or sequence of floats or integers) to decrease by 1. | Any |
||
Output ➡️ |
The input decreased by 1. | Any |
||
Value |
No | The value to apply the operation to. | none |
Var(Int)Var(Int2)Var(Int3)Var(Int4)Var(Int8)Var(Int16)Var(Float)Var(Float2)Var(Float3)Var(Float4)Var(Color)Var([Any]) |
Decreases the input by 1.
Details¶
The Value parameter should be a variable that holds a valid numeric value.
If a sequence of integers or floats was provided as input, the shard will decrease each element in the sequence by 1 and output a sequence.
See also
Examples¶
1 2 3 4 | |
[info] [sample-wire] 9