Converts a number from one measurement system to another.
Name | Type | Description |
arg1 | any | Is the value in from_units to convert. |
arg2 | any | Is the units for number. |
arg3 | any | Is the units for the result. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.CONVERT(2, "Ibm", "kg")); builder.SaveFile("xlsx", "CONVERT.xlsx"); builder.CloseFile();