ceil
This block is part of the math group and was last modified in core v10.4.28.
ceil v10.4.28 Always rounds a number up to the next largest whole number or integer.
In pins 1
- number required
number
Out pins 1
- Number
number
Rounds the number pin up toward +Infinity to the nearest integer. Numeric strings and booleans coerce; an unwired, nil, or non-numeric input outputs nil. Example: number=2.1 -> 3, number=-2.1 -> -2.
A typical wiring for ceil: the number out pin feeds cast to value.
Version history
Introduced in v10.4.28.
Back to
math Return to the main group to view all sub-groups Back to number Return to the group to view all blocks within this group 