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

ParameterTypeDescription
listlist of numbersnumbers, as one list or as separate arguments

Examples

median(8, 2, 5, 3, 4)
median([6, 1, 2, 3])

Related functions

mean · mode · stddev

Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).