median
FEEL built-in function · List functions
median(list) or median(n1, …, nN)
Returns the median: the middle element of the sorted values, or the mean of the two middle elements for an even count.
Parameters
| Parameter | Type | Description |
|---|---|---|
| list | list of numbers | numbers, as one list or as separate arguments |
Examples
median(8, 2, 5, 3, 4)
4
Try it →
median([6, 1, 2, 3])
2.5
Try it →
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).