FinMath.Percentile Method
Percentile is a measure of location in a distribution of numbers, that defines the value below which a
given percentage of the data falls. For example, the 90th percentile is the point below which 90
percent of the data falls.
double[] Data = new double[5]; Data[0] = 15.00; Data[1] = 20.00; Data[2] = 35.00; Data[3] = 40.00; Data[4] = 50.00; Console.WriteLine("Percentile = " + FinMath.Percentile(40, Data));