Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ms:number Function

Takes a string argument in XSD format and converts it into an XPath number.

          number ms:number(string)

The ms:number() function performs conversion the same way as the native XPath number() function, with the exceptions that the ms:number() function converts "-INF" and "INF" into minus and plus infinity, and mathematical notation such as (1.2e-3) into numbers, not NaNs. For a complete set of numeric formats that can be processed, see the XSD Specification. If the ms:number() function is unable to convert a string, it returns a NaN.

Build Date:

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.