Abs
Calculates the absolute value of a number, removing its sign.
Definition
Namespace:Telerik.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Abs : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionAbs...
Inherited Members
Constructors
Initializes a new ABS function instance for computing absolute values.
public Abs()
Fields
The name of the function.
public static readonly string FunctionName
Properties
Gets the metadata describing this function's category, arguments, and behavior.
public override FunctionInfo FunctionInfo { get; }
The function info as FunctionInfo.
Overrides:
When true, FunctionBase automatically evaluates this function element-wise over any multi-element array argument and returns a spilled array result. Override to true in pure scalar functions (e.g. ABS, LEN, MOD) where applying the function independently to each element of an input array is the correct dynamic-array behavior. Leave false (the default) for reducers.
public override bool LiftsOverArrays { get; }
Overrides:
Methods
Evaluates the absolute value of the numeric argument and returns the result as an expression.
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
The context.
Returns:Functions result as RadExpression.
Overrides: