Skip to content

Math.Floor

Name - Description Default Type
<input> Any valid float(s) or a sequence of such entities supported by this operation. FloatFloat2Float3Float4Color[Any]
<output> The result of the operation, usually in the same type as the input value. FloatFloat2Float3Float4Color[Any]

Applies the unary operation on the input value and returns the result (or a sequence of results if the input and the operand are sequences).

Examples

1
2
3
4
(float3 -0.95 4.0 7.54)
(Math.Floor) (Log)

(Assert.Is (float3 -1.0 4.0 7.0) true)
[info] [shards/Math/Floor/Floor.edn] (-1 4 7)