chickadee » statistics » median

median itemsprocedure

returns the value which separates the upper and lower halves of the list of numbers.

(median '(1 2 3 4)) => 5/2