HP 3000 Manuals

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


HP COBOL II/XL Quick Reference Guide

MEDIAN 

The MEDIAN function returns the content of the parameter whose value is
the middle value in a list formed by arranging the parameters in sorted
order.  The function type is numeric.

Syntax 

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

Parameters 

parameter-1           Must be class numeric.



MPE/iX 5.0 Documentation