WorksheetFunction.Quotient(Object, Object) Method

Definition

Returns the integer portion of a division. Use this function when you want to discard the remainder of a division.

public:
 double Quotient(System::Object ^ Arg1, System::Object ^ Arg2);
public double Quotient (object Arg1, object Arg2);
Public Function Quotient (Arg1 As Object, Arg2 As Object) As Double

Parameters

Arg1
Object

Numerator - the dividend.

Arg2
Object

Denominator - the divisor.

Returns

Remarks

If either argument is nonnumeric, Quotient returns the #VALUE! error value.

Applies to