Index » Programming » C/C++ » will 27 Sep 07, 9:09AMParent PostTake a look at: http://www.codecogs.com/d-ox/stats/moments/median.phpIn essence you run through the data and find the n/2 th smallest number. Or largest! Hope this helps. Will