Skip to content

EvaluateNumber

Returns the numeric value of the current node.

1
myXml.EvaluateNumber():number

Returns the numeric value of the node selected by the specified XPath expression.

1
myXml.EvaluateNumber(xpath: string):number

Parameters

string xpath
    The XPath expression to evaluate. If not specified, the current node is used.

Returns

The numeric value of the current node. The numeric value of the selected node.

Remarks

Evaluate with an XPath expression

1
var number = $Xml.EvaluateNumber('//Customer/Number');

See Also