ClassN
Implements the N function, which converts a value to a number, returning numeric values directly and 0 for other types.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class N : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionN
Inherited Members
Constructors
N()
Initializes a new N function instance for converting values to numeric representation.
Declaration
public N()
Fields
FunctionName
The name of the function.
Properties
ArgumentConversionRules
Gets the rules controlling how arguments are converted before evaluation.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
The argument conversion rules as ArgumentConversionRules.
Overrides
FunctionInfo
Gets metadata describing the function's category, description, and argument structure.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the function by converting the argument to a number and returning a valid numeric expression or error.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides