Language Reference Guide : Functions : Stat Library Functions : MEDIAN Function
 
Share this page          
MEDIAN Function
The MEDIAN function returns the median, or middle value, of numbers in a list.
This function has the following syntax:
MEDIAN(list = list)
Arguments
Data Type
Description
list
Array of Object (see following note)
List of numbers
Note:  The Array of Object can be an Array of FloatObject, IntegerObject, or MoneyObject.
This function returns:
Float—Median of items in list
Null—On error
Example—MEDIAN function:
/* Use same array as Average example */
median_result = median(list = digits1_9);