median() Function

Function

median( number )

Returns the median of the specified number(s).

Parameters

Keyword Type Description

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: Thu, Oct 14, 2021 (02:44:31 PM)

On This Page

FEEDBACK