Classification
OTL Syntax
FloatTerm = Quantities.GetDisplayValue(QuantityTerm);
Description
The GetDisplayValue term which as a result of the non-dimensional value of a numeric variable (NumericQuantity) as float returns (float).
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Data Type |
Description
|
Float |
The (dimensionless) float value a NumericQuantity.
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
Quantity |
Quantity |
Term |
- |
[1] |
The NumericQuantity, from which the float value to be extracted
|
OTL Examples
Quantities.Quantity Quantity1 = 0 [@Unit, "ODX_RS_UNIT_LIB.odx", "%/ms"];
Float Float1;
Float1 = Quantities.GetDisplayValue(Quantity1);
See also
CreateQuantity
GetDisplayUnit
GetBaseUnit