August 2003
Beginner to intermediate
240 pages
7h 44m
English
floor( ) — returns the largest integer not greater than the num parameter
| Defined in: XPath 1.0 |
Parameters: number num (required) |
| Return type: number |
(NaN, Infinity, and
-Infinity are passed through unchanged.)
The first example returns 3, and the second example returns -4:
floor(3.14) floor(-3.14)
Read now
Unlock full access