Difference between revisions of "Extensions.I18n.LocalizeQuantityToUnitGroup"
Jump to navigation
Jump to search
m (Hb moved page LocalizeQuantityToUnitGroup to Extensions.I18n.LocalizeQuantityToUnitGroup: #3153) |
|||
Line 1: | Line 1: | ||
− | [[Category:i18n]] | + | {{DISPLAYTITLE: '''LocalizeQuantityToUnitGroup '''}}[[Category:i18n]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | LocalizeQuantityToUnitGroup | Transforms a NumericQuantity to a particular group of units | [[Term]] | [[ | + | {{ClassificationActivity | LocalizeQuantityToUnitGroup | Transforms a NumericQuantity to a particular group of units | [[Term]] | [[Extensions.I18n|OTX i18n extension]] | [[Quantity related terms]] | [[Extensions.Quantities.UnknownUnitException|UnknownUnitException]] <br/> [[Extensions.Quantities.InvalidConversionException|InvalidConversionException]] | [[Extensions.Quantities.QuantitiesChk001|Quantities_Chk001]] }} |
== OTL Syntax == | == OTL Syntax == | ||
Line 11: | Line 11: | ||
The '''LocalizeQuantityToUnitGroup''' term is a ''NumericQuantity'' turn to a particular group of units. | The '''LocalizeQuantityToUnitGroup''' term is a ''NumericQuantity'' turn to a particular group of units. | ||
− | {{TermReturnValue| [[Quantity]] | A transformed '''NumericQuantity''' in a specified unit group.}} | + | {{TermReturnValue| [[Extensions.Quantities.Quantity|Quantity]] | A transformed '''NumericQuantity''' in a specified unit group.}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| Quantity | [[Quantity]] | [[Term]] | - | [1] | The Quantity that is located in the specified unit group.}} | + | {{TableRowPropertie1| Quantity | [[Extensions.Quantities.Quantity|Quantity]] | [[Term]] | - | [1] | The Quantity that is located in the specified unit group.}} |
{{TableRowPropertie2| 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}} | {{TableRowPropertie2| 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}} | ||
|} | |} | ||
Line 29: | Line 29: | ||
== See also == | == See also == | ||
− | [[LocalizeQuantity]] | + | [[Extensions.I18n.LocalizeQuantity|LocalizeQuantity]] |
Revision as of 09:54, 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);