STATMEDIAN

f = STATMEDIAN (var1 [, var2, … ,varN])

The median of a finite list of numbers is the “middle” number, when those numbers are listed in order from smallest to greatest. var1 to varN can be single numbers or arrays.

see: Wikipedia - Median

Example

a = [1, 3, 3, 6, 7, 8, 9]
print statmedian(a)   ' output: 6
Math
If there is insufficient information on this page and you wish learn more about STATMEDIAN, please send an email to smallbasic@gmail.com. You can help to improve information about STATMEDIAN by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.