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