Edit

Share via


WorksheetFunction.ImSub(Object, Object) Method

Definition

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

public:
 System::String ^ ImSub(System::Object ^ Arg1, System::Object ^ Arg2);
public string ImSub (object Arg1, object Arg2);
Public Function ImSub (Arg1 As Object, Arg2 As Object) As String

Parameters

Arg1
Object

Inumber1 - the complex number from which to subtract inumber2.

Arg2
Object

Inumber2 - the complex number to subtract from inumber1.

Returns

Remarks

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

The difference of two complex numbers is:

Figure 1: Difference of two complex numbers

Applies to