mean
FEEL built-in function · FEEL list functions
mean(list) or mean(n1, …, nN)
Returns the arithmetic average of the numbers; null for an empty list.
Parameters
| Parameter | Type | Description |
|---|---|---|
| list | list of numbers | numbers, as one list or as separate arguments |
Examples
mean([1, 2, 3])
2
Try it ↑
Edge cases and null handling
mean([])
null
Try it ↑
Part of FEEL list functions: how positions, nulls and single values behave across all of them, aggregating over lists of contexts, and every function side by side.
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).