# ceil()
Calculates the closest int value that is greater than or equal to the value of the parameter.
## Examples
```python
def setup():
x = 2.88
a = py5.ceil(x) # Sets 'a' to 3
```
## Description
Calculates the closest int value that is greater than or equal to the value of the parameter.
This function makes a call to the numpy `ceil()` function.
## Signatures
```python
ceil(
value: Union[float, npt.ArrayLike] # number to round up
) -> Union[int, npt.NDArray]
```
Updated on March 06, 2023 02:49:26am UTC