WorksheetFunction.ImDiv Method

Returns the quotient of two complex numbers in x + yi or x + yj text format.

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

Syntax

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

returnValue = instance.ImDiv(Arg1, Arg2)
string ImDiv(
    Object Arg1,
    Object Arg2
)

Parameters

  • Arg1
    Type: System.Object

    Inumber1 - the complex numerator or dividend.

  • Arg2
    Type: System.Object

    Inumber2 - the complex denominator or divisor.

Return Value

Type: System.String

Remarks

Use Complex(Object, Object, Object) to convert real and imaginary coefficients into a complex number.

The quotient of two complex numbers is:

Figure 1: Quotient of two complex numbers

Quotient of two complex numbers

See Also

Reference

WorksheetFunction Interface

WorksheetFunction Members

Microsoft.Office.Interop.Excel Namespace