Skip to content

Math.Divide

Name Mandatory Description Default Type
⬅️ Input The value or the sequence of values to divide the value specified in the Operand parameter with. IntInt2Int3Int4Int8Int16FloatFloat2Float3Float4Color[Any]
Output ➡️ This shard outputs the result of the division. IntInt2Int3Int4Int8Int16FloatFloat2Float3Float4Color[Any]
Operand No The value or sequence of values to divide the input by. 0 IntVar(Int)Int2Var(Int2)Int3Var(Int3)Int4Var(Int4)Int8Var(Int8)Int16Var(Int16)FloatVar(Float)Float2Var(Float2)Float3Var(Float3)Float4Var(Float4)ColorVar(Color)[Any]Var([Any])

This shard divides the input value by the value provided in the Operand parameter.

Examples

1
2
9.0 | Math.Divide(Operand: 2.0) | Log
Assert.Is(4.5 Break: true)

[info] [sample-wire] 4.5