round


The round() function returns the closest integer to the numeric value of the argument, as an instance of the same primitive data type as the argument. For example, the expression «round(4.6) » returns the xs:decimal value 5.0 .

Argument

Data Type

Meaning

value

Numeric

The input value

Result

Numeric

The result of rounding the first argument to the nearest integer, but expressed as a value of the same data type as the input value




XSLT 2.0 Programmer's Reference
NetBeansв„ў IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (2nd Edition)
ISBN: 764569090
EAN: 2147483647
Year: 2003
Pages: 324

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net