Skip to content

Math.Ceil

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

This shard rounds up the input to the nearest integer.

Examples

1
2
@f3(-0.95 4.0 7.54) | Math.Ceil | Log
Assert.Is(@f3(0.0 4.0 8.0) Break: true)

[info] [sample-wire] @f3(-0 4 8)