Skip navigation

FlexPro Documentation 2025

UnitSymbol

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.

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

Available in

FlexPro Basic, Professional, Developer Suite

Examples

UnitSymbol(1.2 V)

Results in "V".

UnitSymbol(1)

Results in "".

See Also

Unit Function

SIUnits Function

UnitType Function

Unit Manager

Quantities in FPScript