Difference between revisions of "Extensions.I18n.LocalizeQuantityToUnitGroup"
Jump to navigation
Jump to search
m (Hb moved page LocalizeQuantityToUnitGroup to Extensions.I18n.LocalizeQuantityToUnitGroup: #3153) |
|
(No difference)
|
Revision as of 09:28, 15 February 2016
Contents
Classification
Name | LocalizeQuantityToUnitGroup |
Short Description | Transforms a NumericQuantity to a particular group of units |
Class | Term |
Extension | OTX i18n extension |
Group | Quantity related terms |
Exceptions | UnknownUnitException InvalidConversionException |
Checker Rules | Quantities_Chk001 |
Standard Compliant | Yes |
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);