New to Telerik Document ProcessingStart a free 30-day trial

Divides one number by another and returns the integer portion of the result, discarding the remainder.

Definition

Constructors

Initializes a new QUOTIENT function that returns the integer part of a division without the remainder.

C#
public Quotient()

Fields

The name of the function.

C#
public static readonly string FunctionName

Methods

Evaluates the QUOTIENT function and returns the integer portion of the numerator divided by the denominator, checking for division by zero.

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters:contextFunctionEvaluationContext<double>

The context.

Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithSameTypeArguments<double>.EvaluateOverride(FunctionEvaluationContext<double>)

Properties

Conversion rules specifying that the function converts arguments to numbers but does not accept boolean values.

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

The argument conversion rules as ArgumentConversionRules.

Overrides: NumbersInFunction.ArgumentConversionRules

Metadata describing the function signature, category, and argument requirements.

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

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

The function name "QUOTIENT" as it appears in spreadsheet formulas.

C#
public override string Name { get; }
Property Value:

The name as String.

Overrides: FunctionBase.Name