TRY NEW VERSION

IMLOG10

IMLOG10(arg1) → { number | string | boolean }

Returns the base-10 logarithm of a complex number.

Parameters:

Name Type Description
arg1 any

Is a complex number for which you want the common logarithm.

Returns:

Type
number | string | boolean

Example

Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.IMLOG10("-2+2.5i"));
builder.SaveFile("xlsx", "IMLOG10.xlsx");
builder.CloseFile();

Resulting document