fn:avg(anyAtomicType* $srcval) → anyAtomicType?
Function signature
$srcval |
xdt:anyAtomicType * |
Result |
xdt:anyAtomicType ? |
Implemented. Changed in 7.4 to return the same type as the argument, when appropriate. (For a set of integers, the result is a double). Not yet implemented for other addable types, e.g. duration.