HP 3000 Manuals

MIDRANGE [ HP COBOL II/XL Quick Reference Guide ] MPE/iX 5.0 Documentation


HP COBOL II/XL Quick Reference Guide

MIDRANGE 

The MIDRANGE (middle range) function returns a numeric value that is the
arithmetic mean (average) of the value of the minimum parameter and the
maximum parameter.  The function type is numeric.

Syntax 

     FUNCTION MIDRANGE ({parameter-1}...)

Parameters 

parameter-1           Must be class numeric.



MPE/iX 5.0 Documentation