BIN2DEC
function BIN2DEC(arg1: any = null): number | string | boolean
Description
Converts a binary number to decimal.
Parameters
- arg1
any
null Is the binary number you want to convert.
Returns
number | string | boolean
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.BIN2DEC(1110011100));