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