ceil
Returns the whole number larger than its argument.
Example
Find the integer nearest and above the double
value 5.9.
ceil(5.9)
In this example, 6 as an int
is returned.
Syntax
ceil(double expr x)
Notes
Function ceil
returns the smallest integer that is greater than, or equal to, its argument.