Converts a decimal number to binary.
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.DEC2BIN(-100)); builder.SaveFile("xlsx", "DEC2BIN.xlsx"); builder.CloseFile();