Median
Returns the middle of `source` elements once sorted, as an xsd:decimal: the middle element on an odd count, and on an even count the Average of the two middle elements. One outlier moves an Average a long way and a Median not at all, so a typical value, such as a typical wait, is declared as a Median. Result is always decimal, as Average's is. Every element must be numeric, not only the middle ones. Empty source raises a runtime error, same contract as Min/Max/Average (callers guard with IsSet).
- Subclass Of
List Aggregate