Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XPath Number Functions

Windows Mobile 6.5
A version of this page is also available for

The XML Path Language (XPath) syntax supports Number functions that return strings or numbers and can be used with comparison operators in filter patterns.

The following table shows the Number functions implemented by XPath.

Function Description

ceiling Function

Returns the smallest integer that is not less than the argument.

floor Function

Returns the largest integer that is not greater than the argument.

number Function

Converts the argument to a number.

round Function

Returns an integer closest in value to the argument.

sum Function

Returns the sum of all nodes in the node set. Each node is first converted to a number value before summing.

Community Additions

© 2014 Microsoft