8.61 CurrencyUnitType

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

Table 45 – CurrencyUnitType Definition
NameTypeDescription
CurrencyUnitTypestructure

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) is equal to 100 of its minor currency unit the "cent". So the exponent is 2 (10 to the power 2 is 100).

AlphabeticCode

StringThree-letter alphabetic code as defined by ISO 4217.

Currency

LocalizedTextFull name of currency as defined by ISO 4217.

Examples:

numericCode exponent alphabeticCode currency
0362AUDAustralian Dollar
9782EUREuro
3562INRIndian Rupee
8402USDUS Dollar
8262GBPPound Sterling
3920JPYYen