Ceil
Rounds a number up to a whole number.
Node id math/ceil
The Ceil node outputs the smallest whole number that is not less than
value: 2.1 gives 3, and -2.9 gives -2.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| value | number | 0 |
Outputs
| Name | Type | Notes |
|---|---|---|
| result | number |
Behaviour
- Upwards, also for negatives. Ceil always rounds towards larger numbers, so negative numbers move towards zero.
- Whole numbers are unchanged. 3 gives 3.