XPathValue.toNumber

double toNumber() const @safe

Converts the value to a number using XPath 1.0 rules.