ClassDivisionExpression
Binary expression that divides the left operand by the right operand, returning an error if division by zero occurs.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class DivisionExpression : NumberBinaryOperatorExpression
Inheritance: objectRadExpressionOperatorExpressionBinaryOperatorExpression<double>NumberBinaryOperatorExpressionDivisionExpression
Inherited Members
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
left
The left.
right
The right.
Properties
OperatorInfo
The operator metadata for the division operator, including precedence and associativity.
Declaration
public override OperatorInfo OperatorInfo { get; }
Property Value
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
operands
double[]
The operands of type T.
Returns
Value as RadExpression.
Overrides