New to Telerik Document ProcessingStart a free 30-day trial

Binary expression that divides the left operand by the right operand, returning an error if division by zero occurs.

Definition

Constructors

Initializes a new instance of the DivisionExpression class with the specified dividend and divisor expressions.

C#
public DivisionExpression(RadExpression left, RadExpression right, Workbook workbook = null)
Parameters:leftRadExpression

The left.

rightRadExpression

The right.

workbookWorkbook

The workbook.

Methods

Computes the division result from numeric operands, returning #DIV/0! error if the divisor is zero.

C#
protected override RadExpression GetValueOverride(double[] operands)
Parameters:operandsdouble[]

The operands of type T.

Returns:

RadExpression

Value as RadExpression.

Overrides: BinaryOperatorExpression<double>.GetValueOverride(double[])

Properties

The operator metadata for the division operator, including precedence and associativity.

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

The operator info as OperatorInfo.

Overrides: OperatorExpression.OperatorInfo