-
-
Notifications
You must be signed in to change notification settings - Fork 18
median
drewmccluskey edited this page Jan 9, 2019
·
5 revisions
Returns the closest middle number from input values
median(item1, item2, item3..);
Argument | Description |
---|---|
item1 | First value to compare |
item2 | Second value to compare |
item3 | Another value to compare |
Returns: T
This function will return the closest middle value from an unlimited list of inputs.
median(15, 22, 66); //return 22
This function will find the middle of values 15, 22, 66, and will return 22 because this value is the closest middle of all 3 values.
Back to number_functions