ceil($number)
Rounds the floating point number number to the next larger integer.
| Name | Type | Description | Mandatory | Default |
|---|---|---|---|---|
| number | Number | Floating point number to be rounded up | yes |
Type: Number
The next larger integer from number.
ceil(3.14)
Output: 4
ceil(3)
Output: 3
Whole numbers remain unchanged.