Returns the natural logarithm of a number.
Name | Type | Description |
arg1 | number | Is the positive real number for which you want the natural logarithm. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.LN(23)); builder.SaveFile("xlsx", "LN.xlsx"); builder.CloseFile();