Converts a decimal number to octal.
Name | Type | Description |
arg1 | any | Is the decimal integer you want to convert. |
arg2 | any | Is the number of characters to use. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.DEC2OCT(-100)); builder.SaveFile("xlsx", "DEC2OCT.xlsx"); builder.CloseFile();