ClassQuotient
Divides one number by another and returns the integer portion of the result, discarding the remainder.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Quotient : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionQuotient
Inherited Members
Constructors
Quotient()
Initializes a new QUOTIENT function that returns the integer part of a division without the remainder.
Declaration
public Quotient()
Fields
FunctionName
The name of the function.
Properties
ArgumentConversionRules
Conversion rules specifying that the function converts arguments to numbers but does not accept boolean values.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
The argument conversion rules as ArgumentConversionRules.
Overrides
FunctionInfo
Metadata describing the function signature, category, and argument requirements.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the QUOTIENT function and returns the integer portion of the numerator divided by the denominator, checking for division by zero.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides