Ceil()
Convert a numeric value to a rounded up integer.
Syntax
Ceil(<nValue>) --> nValue
Arguments
<nValue> --> is a numeric expression to convert to a number.
Returns
Ceil() returns a numeric value rounded up the nearest whole number.
Description
Ceil() is a numeric function that converts a numeric value to an integer by rounding all digits to the right of the decimal point up to the nearest whole number. Ceil() is useful in operations where the decimal portion of a number is not wanted.
Examples
Ceil(3.2)
* Result = 4
Ceil(1000.01)
* Result = 1001
____________________________
Related Topics: