Returns the logarithm of a number to the base you specify.
Name | Type | Description |
arg1 | number | Is the positive real number for which you want the logarithm. |
arg2 | number | Is the base of the logarithm; 10 if omitted. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.LOG(56, 5)); builder.SaveFile("xlsx", "LOG.xlsx"); builder.CloseFile();