Classification
OTL Syntax
QuantityTerm = I18n.LocalizeQuantityToUnitGroup(QuantityTerm, EquivalentUnitGroup);
Description
The LocalizeQuantityToUnitGroup term is a NumericQuantity turn to a particular group of units.
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
| Data Type |
Description
|
| Quantity |
A transformed NumericQuantity in a specified unit group.
|
Properties
| Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
| Quantity |
Quantity |
Term |
- |
[1] |
The Quantity that is located in the specified unit group.
|
| EquivalentUnitGroup |
- |
Reference |
- |
[1] |
Reference to the appropriate location in an XML document with the correct specification of the unit in a form of UNIT-SPEC elements of the ISO standard ODX
|
OTL Examples
Quantities.Quantity Quantity1;
Quantities.Quantity Quantity2;
Quantity2 = I18n.LocalizeQuantityToUnitGroup(Quantity1, null);
See also
LocalizeQuantity