SpreadJS Documentation
IMLN
SpreadJS Documentation > Formula Reference > Formula Functions > IMLN

This function returns the natural logarithm of a complex number.

Syntax

IMLN(complexnum)

Arguments

The complexnum argument is a complex number for which to return the natural logarithm.

Remarks

An error is returned if the complexnum argument is not in the form "x+yi" or "x+yj". For more information, refer to Complex Numbers.

Data Types

Accepts number and string data. Returns string data.

Examples

IMLN("2+5j")

See Also