MIDRANGE
The MIDRANGE function returns the midrange value between the passed arguments.
Syntax 1
function midrange (arg-1[, arg2 ...,arg-n]) |
Syntax 2
$midrange (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 midrange value between the passed arguments.
Examples
Example - Display the midrange value between 1, 2 and 3.
display function midrange(1, 2, 3) |