WorksheetFunction.ImAbs method (Excel)
Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format.
expression.ImAbs (Arg1)
expression A variable that represents a WorksheetFunction object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Arg1 | Required | Variant | Inumber - a complex number for which you want the absolute value. |
String
Use the Complex method to convert real and imaginary coefficients into a complex number.
The absolute value of a complex number is as follows, where z = x + yi:
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.