Saxonica.com

fn:avg

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

Function signature

$srcval

xdt:anyAtomicType *

Result

xdt:anyAtomicType ?

Returns the average of a set of numbers or durations

XPath 2.0 Specification

Next