saxonica.com

fn:avg

fn:avg(anyAtomicType* $srcval) → anyAtomicType?

Function signature

$srcval

xs:anyAtomicType *

Result

xs:anyAtomicType ?

Returns the average of a set of numbers or durations

XPath 2.0 Specification

Next