OPC Foundation
  • Documents
  • NodeSets
  • Search
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 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) is equal to 100 of its minor currency unit the "cent". 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.

Examples:

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

Please report errors or issues with the site to webmaster.

Copyright © 2025 - OPC Foundation