ClassMedian
Implements the MEDIAN function, which calculates the middle value in a sorted set of numbers.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Median : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionMedian
Inherited Members
Constructors
Median()
Initializes a new instance of the MEDIAN function.
Declaration
public Median()
Fields
FunctionName
The name of the function.
Properties
ArgumentConversionRules
Gets the argument conversion rules.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
The argument conversion rules.
Overrides
FunctionInfo
Gets the function info.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the MEDIAN function and returns the middle value of the sorted arguments.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides