Class Quotient
Divides one number by another and returns the integer portion of the result, discarding the remainder.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class Quotient : NumbersInFunction
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.
Declaration
public static readonly string FunctionName
Field Value
|
System.String
|
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
|
ArgumentConversionRules
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
|
FunctionInfo
The function info as FunctionInfo. |
Overrides
Name
The function name "QUOTIENT" as it appears in spreadsheet formulas.
Declaration
public override string Name { get; }
Property Value
|
System.String
The name as String. |
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
|
FunctionEvaluationContext<System.Double>
context
The context. |
Returns
|
RadExpression
Functions result as RadExpression. |