Spread Windows Forms 15.0
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / CalcHelper Class / Percentile Method
The set of sorted values.
The rank.


In This Topic
    Percentile Method
    In This Topic
    Returns the percentile value of the specified rank.
    Syntax
    'Declaration
     
    
    Public Shared Function Percentile( _
       ByVal values() As Double, _
       ByVal rank As Double _
    ) As Double
    'Usage
     
    
    Dim values() As Double
    Dim rank As Double
    Dim value As Double
     
    value = CalcHelper.Percentile(values, rank)
    public static double Percentile( 
       double[] values,
       double rank
    )

    Parameters

    values
    The set of sorted values.
    rank
    The rank.
    See Also