RANGE
The RANGE function returns the difference between the maximum value and the minimum value in a series of arguments.
Syntax 1
function range (arg-1[, arg2 ...,arg-n]) |
Syntax 2
$range (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 the difference between the maximum value and the minimum between the passed arguments.
Examples
Example - Display a range between 1, 2 and 3.
display function range(1, 2, 3) |