sum
FEEL built-in function · List functions
sum(list) or sum(n1, …, nN)
Returns the sum of the numbers. The sum of an empty list is null.
Parameters
| Parameter | Type | Description |
|---|---|---|
| list | list of numbers | numbers, as one list or as separate arguments |
Examples
sum([1, 2, 3])
6
Try it →
sum([])
0
Try it →
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).