WorksheetFunction.ImLog2 (Excel)

Returns the base-2 logarithm of a complex number in x + yi or x + yj text format.

Use the Complex method to convert real and imaginary coefficients into a complex number. The base-2 logarithm of a complex number can be calculated from the natural logarithm as follows:

ImLog2 (Arg1)

Arg1: Inumber - a complex number for which you want the base-2 logarithm.


Dim strImLog2 As String
strImLog2 = WorksheetFunction.ImLog2(Arg1:=)