Class DivisionExpression
Binary expression that divides the left operand by the right operand, returning an error if division by zero occurs.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class DivisionExpression : NumberBinaryOperatorExpression, IPrecalculatedExpressionThreeNode
Constructors
DivisionExpression(RadExpression, RadExpression)
Initializes a new instance of the DivisionExpression class with the specified dividend and divisor expressions.
Declaration
public DivisionExpression(RadExpression left, RadExpression right)
Parameters
|
RadExpression
left
The left. |
|
RadExpression
right
The right. |
Properties
OperatorInfo
The operator metadata for the division operator, including precedence and associativity.
Declaration
public override OperatorInfo OperatorInfo { get; }
Property Value
|
OperatorInfo
The operator info as OperatorInfo. |
Overrides
Methods
GetValueOverride(Double[])
Computes the division result from numeric operands, returning #DIV/0! error if the divisor is zero.
Declaration
protected override RadExpression GetValueOverride(double[] operands)
Parameters
|
System.Double[]
operands
The operands of type T. |
Returns
|
RadExpression
Value as RadExpression. |