median() Function

Returns the median of the specified number(s).

Syntax

median( number, … )

number: (Decimal Array) A number or array of numbers that will be used to calculate the median of the set.

Returns

Decimal

Examples

You can experiment with this function in the test box below.

Test Input

median(1,2,3,4) returns 2.5

Open in Github Built: Fri, Mar 11, 2022 (04:59:07 PM)

On This Page

FEEDBACK