Converts a number into a text representation with the given radix (base).
Name | Type | Description |
arg1 | number | Is the number that you want to convert. |
arg2 | number | Is the base Radix that you want to convert the number into. |
arg3 | number | Is the minimum length of the returned string. If omitted leading zeros are not added. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.BASE(5, 2, 5)); builder.SaveFile("xlsx", "BASE.xlsx"); builder.CloseFile();