apoc.coll.avg
Function
apoc.coll.avg(coll [Number])
- returns the average of the numbers in the list.
Usage examples
The following computes the average of values in a list:
RETURN apoc.coll.avg([1,2,3,4,5]) AS output;
Output |
---|
3.0 |
Was this page helpful?