Home
Download
Wiki
Demo
Open Source Native XML Database
About Us
Who we are
Acknowledgements
Documentation
Quick Start
Function Library
Extension Modules
Main Documentation
Feature Sheet
XQuery Wikibook
Examples
XQuery Sandbox
XML Acronyms
Bibliographic
All Examples
Community
Mailing List/IRC
Development
Javadocs
ChangeLog
Bug Tracker
Subversion
Submit Patches
Administration
Admin
Server Status
Webstart Client
A RESTful browser for eXist Java-Based Function Modules
Modules
>
xpath-functions
>
avg
http://www.w3.org/2005/xpath-functions
A module with the XQuery/XPath Core Library Functions
avg
avg($values as xdt:anyAtomicType*) xdt:anyAtomicType?
Returns the average of the values in the input sequence $values, that is, the sum of the values divided by the number of values.
$values
The values
Returns the average of the values in the input sequence
Return to list of all modules