WorksheetFunction.Quotient Method

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function Quotient ( _
    Arg1 As Object, _
    Arg2 As Object _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Object
Dim Arg2 As Object
Dim returnValue As Double

returnValue = instance.Quotient(Arg1, _
    Arg2)
double Quotient(
    Object Arg1,
    Object Arg2
)

Parameters

Return Value

Type: System.Double

Remarks

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

See Also

Reference

WorksheetFunction Interface

WorksheetFunction Members

Microsoft.Office.Interop.Excel Namespace