tuple_median — Return the median of the elements of a tuple.
tuple_median calculates the median of all elements of the input tuple Tuple and returns it in the output parameter Median. The input tuple may only consist of numbers (integer or floating point numbers). The median is defined as the element with rank n/2 (see tuple_select_rank).
If the input tuple is empty, an exception is raised.
HDevelop provides an in-line operation for tuple_median, which can be used in an expression in the following syntax:
Median := median(Tuple)
Median of the tuple elements.
tuple_mean, tuple_min, tuple_max