Converts a binary number to decimal.
Name | Type | Description |
arg1 | any | Is the binary number you want to convert. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.BIN2DEC(1110011100)); builder.SaveFile("xlsx", "BIN2DEC.xlsx"); builder.CloseFile();