Round a number up to the nearest whole number.
returnedNum = ceiling(numFlt)
returnedNum - type: number
numFlt - type: float
The smallest whole number that is greater than or equal to the given number.
Analogous to the ceil function in C/C++. Rounds toward positive infinity, so the ceiling of a negative number moves toward zero.
@CODE
"output.txt" << ceiling(3.2) << "\n";
@@CODE
Outputs:
4