Converts a text string that represents a number to a number.
Name | Type | Description |
arg1 | string | The text enclosed in quotation marks or a reference to a cell containing the text which will be converted to a number. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.VALUE("$3.50")); builder.SaveFile("xlsx", "VALUE.xlsx"); builder.CloseFile();