New to Telerik Document ProcessingStart a free 30-day trial

Radians

Class

Converts an angle from degrees to radians for use in trigonometric calculations.

Definition

Constructors

Initializes a new RADIANS function that converts degree measurements to radians.

C#
public Radians()

Fields

The name of the function.

C#
public static readonly string FunctionName

Methods

Evaluates the RADIANS function and returns the angle converted from degrees to radians using the formula (degrees × π / 180).

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters:contextFunctionEvaluationContext<double>

The context.

Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithSameTypeArguments<double>.EvaluateOverride(FunctionEvaluationContext<double>)

Properties

Metadata describing the function signature, category, and argument requirements.

C#
public override FunctionInfo FunctionInfo { get; }
Property Value:

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

The function name "RADIANS" as it appears in spreadsheet formulas.

C#
public override string Name { get; }
Property Value:

The name as String.

Overrides: FunctionBase.Name