編輯

共用方式為


WorksheetFunction.ImAbs(Object) Method

Definition

Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format.

public:
 System::String ^ ImAbs(System::Object ^ Arg1);
public string ImAbs (object Arg1);
Public Function ImAbs (Arg1 As Object) As String

Parameters

Arg1
Object

Inumber - a complex number for which you want the absolute value.

Returns

Remarks

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

The absolute value of a complex number is:

Figure 1: Equation for absolute value of a complex number

where:

z = x + yi

Applies to