Skip to main content

eval_numeric_binary_10

Function eval_numeric_binary_10 

Source
pub fn eval_numeric_binary_10(
    op: BinaryOpKind,
    left: &XmlValue,
    right: &XmlValue,
) -> Result<XmlValue, XPathError>
Expand description

Evaluate a numeric binary operation in XPath 1.0 mode.

In XPath 1.0, arithmetic always returns double (never integer or decimal).