Name
ceiling( ) — returns the smallest integer not less than the num
parameter
Synopsis
Defined in: XPath 1.0 |
Parameters: number num (required) |
Return type: number |
(NaN
, Infinity
, and
-Infinity
are passed through unchanged.)
The first example returns 4, and the second example returns -3:
ceiling(3.14) ceiling(-3.14)
Get XForms Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.