klyn.io.xml.xpath.DOMXPathResult.fromNumber
method
public static fromNumber(value as Double, requestedType as Int, reusable as XPathResult) as XPathResult throws XPathException:
Description

Builds a result from a numeric value.

Parameters
ParameterDescription
valueNumeric value.
requestedTypeRequested XPath result type.
reusableOptional reusable result.
Returns

Result object.

Example
result = DOMXPathResult.fromNumber(2.0, XPathResult.NUMBER_TYPE, null)