floor


The floor() function returns the largest integer value that is less than or equal to the numeric value of the argument. The result has the same data type as the supplied value, for example if the supplied value is an xs:double then the result is returned as an xs:double .

For example, the expression «floor(11.3) » returns the decimal value 11 , while «floor(-11.3) » returns -12 .

Argument

Data Type

Meaning

value

Numeric

The supplied number

Result

Numeric

The result of rounding down the supplied number to the integer below. The result has the same primitive data type as the supplied 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