MEDIAN
The MEDIAN function returns the content of the parameter whose value is
the middle value in a list formed by arranging the parameters in sorted
order. The function type is numeric.
Syntax
FUNCTION MEDIAN ({parameter-1}...)
Parameters
parameter-1 Must be class numeric.