Skip to content

Math.Floor

Name Mandatory Description Default Type
⬅️ Input The input float or sequence of floats to round down. FloatFloat2Float3Float4Color[Any]
Output ➡️ Outputs the input rounded down to the nearest integer (as a float). FloatFloat2Float3Float4Color[Any]

This shard rounds down the input to the nearest integer.

Examples

1
2
@f3(-0.95 4.0 7.54) | Math.Floor | Log
Assert.Is(@f3(-1.0 4.0 7.0) Break: true)

[info] [sample-wire] @f3(-1 4 7)