Skip to content

Math.Inc

Name Mandatory Description Default Type
⬅️ Input The float or integer (or sequence of floats or integers) to increase by 1. Any
Output ➡️ The input increased 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])

Increases the input by 1.

Details

This shard increments the :Value parameter by 1.

The :Value parameter should be a variable that holds a valid numeric value.

See also

Examples

1
2
3
4
10.0 >= mutable
Math.Inc(Value: mutable)
mutable | Log
Assert.Is(11.0 Break: true)

[info] [sample-wire] 11