median

Returns the median value from a value sequence. The returned value will have the decimal value type.

If the sequence is empty or null, null is returned. All the null values of the sequence are excluded from the calculation. This method also accepts a non-sequence value, in which case, it is returned untouched.

See also max, min, stddev, avg, reduce.

Syntax

median()

Examples

$('StandingHeight:Measure.RES_HEIGHT_MEASURE').median();