array.median()
Calculates the Median value of items in an array. All elements in the array must contain values that can be converted to numeric.
array.median( )
Returns: Number
This function does not take any arguments.
Examples
test = array(143,11,04,97,121);
writeDump(test.median());