Converts a binary number to octal.
Name | Type | Description |
arg1 | any | Is the binary number 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.BIN2OCT(1110011100, 4)); builder.SaveFile("xlsx", "BIN2OCT.xlsx"); builder.CloseFile();