MEDIAN
The MEDIAN function returns the median value between the passed arguments.
Syntax 1
function median (arg-1[, arg2 ...,arg-n]) |
Syntax 2
$median (arg-1[, arg2 ...,arg-n]) |
Arguments
• arg-1 can be either a numeric or a alphanumeric data item or literal. Other arguments, if any, must be of the same type.
Result
The function returns returns the median value between the passed arguments.
Examples
Example - Display the median value between 1, 2 and 3.
display function median(1, 2, 3) |