How to use number operation in Number Function Using XPath in Xml
In this article I will explain number operation of number function.
Introduction
The number operation in number function can be used to converts the argument/parameter into the number format.Some points regarding the number function are:
Boolean true is converted to 1.
Boolean false is converted to 0.
The node-set is firstly converted to string and then converted as a string argument.
Syntax
Example
number(3214)
number(-3241)
number('text')
number('1234'+'23')
Output
3214
-3241
NaN
1257
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here