Skip to content
CryoEagle edited this page Dec 30, 2018 · 5 revisions

median

Returns middle number from input values

Syntax:

median(item1, item2, item3..);
Argument Description
item1 First value to compare
item2 Second value to compare
item2 Another value to compare

Returns: T

Description:

This function will return middle value from input, you can have as many arguments as you require the function will find closest argument to middle.

Example:

median(15, 22, 66); //return 22

This function will find the middle of values 15, 22, 66, of course it will return 22 because this value is closest to middle.

Back to number_functions

Clone this wiki locally