UnitSymbol (FPScript)
21.09.2021
Returns the symbol of the data set unit.
Syntax
UnitSymbol(DataSet)
The syntax of the UnitSymbol function consists of the following parts:
Part |
Description |
---|---|
DataSet |
The data set whose unit symbol is to be determined. All data structures are allowed. All data types are permitted. |
Remarks
As the result the function returns a scalar value of data type string.
For aggregate data structures, only the Y component is considered.
Available in
FlexPro Basic, Professional, Developer Suite
Examples
UnitSymbol(1.2 V) |
Results in "V". |
UnitSymbol(1) |
Results in "". |