The returned value is equal to the greatest value of argument-1 minus the least value of argument-1.
The comparisons used to determine the greatest and least values are made according to the rules for relation conditions. See the topic Relation Condition in the chapter Procedure Division.
If the value of argument-1 is numeric non-integer, results are returned in floating-point format.