8 Standard DataTypes ToC Previous Next

8.61 CurrencyUnitType ToC Previous Next index

This structured DataType is used to represent the currency of a Variable Value based on ISO 4217. Its elements are described in Table 44.

Table 44 – CurrencyUnitType Definition

Name Type Description
CurrencyUnitType structure  
   numericCode Int16    Three-digit code numeric code assigned to each currency in ISO 4217.   If unknown or not available this shall be -1.   Converting the number to a string shall always produce a 3 character string with leading zeros when necessary (e.g. the number 36 shall be presented as 036). Non-decimal currencies shall not be supported.
   exponent SByte    Number of digits after the decimal separator.   If unknown or not available this shall be -1.   exponent   expresses the relationship between the major currency unit and its corresponding minor currency unit..For example, USD ([United States dollar](https://en.wikipedia.org/wiki/United_States_dollar” \o “United States dollar)) is equal to 100 of its minor currency unit the “[cent](https://en.wikipedia.org/wiki/Cent_(currency)” \o “Cent (currency))”. So the exponent is 2 (10 to the power 2 is 100).
   alphabeticCode String Three-letter alphabetic code as defined by ISO 4217.
   currency LocalizedText Full name of currency as defined by ISO 4217.


numericCode exponent alphabeticCode currency
036 2 AUD Australian Dollar
978 2 EUR Euro
356 2 INR Indian Rupee
840 2 USD US Dollar
826 2 GBP Pound Sterling
392 0 JPY Yen

Previous Next