-
-
Notifications
You must be signed in to change notification settings - Fork 18
median
CryoEagle edited this page Dec 30, 2018
·
5 revisions
Returns middle number from input values
median(item1, item2, item3..);
Argument | Description |
---|---|
item1 | First value to compare |
item2 | Second value to compare |
item2 | Another value to compare |
Returns: T
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.
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