TOC PREV NEXT INDEX

Netscape and XSLT


round()

The round() function returns the integer nearest to the argument.

Syntax:
number round(value) 
Arguments:
A value. If the argument is not of datatype number, it is converted using the rules of the number() function.
Result:
Usually an integer. If the argument is NaN, the function returns NaN. If the argument is positive or negative infinity, the same is returned. If the argument is positive or negative zero, the same is returned. If the argument is between -0.5 and zero, negative zero is returned.
Defined: XPath, section 4.4.
NS support: Supported.

Comments? devdoc-feedback@netscape.com
TOC PREV NEXT INDEX