Spread Windows Forms 17
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / CalcHelper Class / Median Method
The set of values.


In This Topic
    Median Method
    In This Topic
    Returns the median of a set of values.
    Syntax
    'Declaration
     
    
    Public Shared Function Median( _
       ByVal values() As Double _
    ) As Double
    'Usage
     
    
    Dim values() As Double
    Dim value As Double
     
    value = CalcHelper.Median(values)
    public static double Median( 
       double[] values
    )

    Parameters

    values
    The set of values.

    Return Value

    A System.Double value represents the median of a set of values.
    See Also