Lucee Function Reference

arraymedian()

Calculates the Median value of items in an array.
All elements in the array must contain values that can be converted to numeric.

Example

arraymedian(array array):number

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
array array  Yes The array of which to calculate the Median value