Calculates the median of a list of numbers.
The median is the middle value when the numbers are sorted in ascending order.
If there is an even number of values, the median is the average of the two middle values.
Array of numbers
Median of the numbers
https://en.wikipedia.org/wiki/Median
Calculates the median of a list of numbers.
The median is the middle value when the numbers are sorted in ascending order.
If there is an even number of values, the median is the average of the two middle values.