ceiling() The ceiling() function returns the smallest integer that is greater than or equal to the argument. Syntax: number ceiling(number) Arguments: A number. If the argument is not a number, it is converted to a number using the rules for the number() function. Result: An integer. If the value is not an integer, it is rounded up to the next integer. Defined: XPath, section 4.4. NS support: Supported.
The ceiling() function returns the smallest integer that is greater than or equal to the argument.
number ceiling(number)