Calculate the smallest integer greater than or equal to each element in an array.
> ceil([1.2, 2.5, 3.7])[2, 3, 4] Copy
> ceil([1.2, 2.5, 3.7])[2, 3, 4]
The array of numbers.
An array with the ceiling value of each input element.
Calculate the smallest integer greater than or equal to each element in an array.
Example