Sqrt
Class
Calculates the square root of a positive number, returning an error for negative values.
Definition
Namespace:Telerik.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
C#
public class Sqrt : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionSqrt...
Inherited Members
Constructors
Initializes a new SQRT function that calculates square roots of non-negative numbers.
C#
public Sqrt()
Fields
The name of the function.
C#
public static readonly string FunctionName
Properties
Metadata describing the function signature, category, and argument requirements.
C#
public override FunctionInfo FunctionInfo { get; }
The function info as FunctionInfo.
Overrides:
Methods
Evaluates the SQRT function and returns the square root of the number, checking for negative inputs.
C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
The context.
Returns:Functions result as RadExpression.
Overrides: