currency-formats: Difference between revisions
AndyMabbett (talk | contribs) (corrections (4127 is for ship-building!)) |
|||
Line 5: | Line 5: | ||
==Formats== | ==Formats== | ||
===ISO | ===ISO 4217=== | ||
[http://www.iso.org/iso/en/prods-services/popstds/currencycodeslist.html ISO | [http://www.iso.org/iso/en/prods-services/popstds/currencycodeslist.html ISO 4217] is an international standard for 3-letter currency codes. | ||
===Interactive Financial Exchange (IFX) === | ===Interactive Financial Exchange (IFX) === | ||
Line 23: | Line 23: | ||
The [http://www.ofx.net Open Financial Exchange] is a standard developed by Microsoft and Quicken for personal finance managers. They use the following conventions for currencies and currency values. | The [http://www.ofx.net Open Financial Exchange] is a standard developed by Microsoft and Quicken for personal finance managers. They use the following conventions for currencies and currency values. | ||
They have the concept of a default currency ("CURDEF"), which is a 3-letter ISO- | They have the concept of a default currency ("CURDEF"), which is a 3-letter ISO-4217 value. | ||
Then they have the concept of the currency that a value is expressed in ("CURRENCY"), again with a 3-letter ISO- | Then they have the concept of the currency that a value is expressed in ("CURRENCY"), again with a 3-letter ISO-4217. | ||
Last, there is also an option to provide an original currency, if the value has been converted. The ORIGCURRENCY contains a CURSYM (in ISO-4217) and a CURRATE, ratio of CURDEF to CURSYM. | Last, there is also an option to provide an original currency, if the value has been converted. The ORIGCURRENCY contains a CURSYM (in ISO-4217) and a CURRATE, ratio of CURDEF to CURSYM. | ||
Line 31: | Line 31: | ||
===Canadian dollar=== | ===Canadian dollar=== | ||
Although the representation of a canadian dollar according to ISO- | Although the representation of a canadian dollar according to ISO-4217 is CAD, the most common representation of the currency according to some is CDN. | ||
According to wikipedia: | According to wikipedia: | ||
<blockquote>There are various common abbreviations to distinguish the Canadian dollar from others: while the ISO currency code CAD (a three-character code without monetary symbols) is common, no single system is universally accepted. C$ is recommended by the Canadian government (e.g., per The Canadian Style guide) and is used by the International Monetary Fund, while Editing Canadian English indicates Can$ and CDN$; both guides note the ISO scheme/code. The abbreviation CA$ is also used, e.g., in some software packages.</blockquote> | <blockquote>There are various common abbreviations to distinguish the Canadian dollar from others: while the ISO currency code CAD (a three-character code without monetary symbols) is common, no single system is universally accepted. C$ is recommended by the Canadian government (e.g., per The Canadian Style guide) and is used by the International Monetary Fund, while Editing Canadian English indicates Can$ and CDN$; both guides note the ISO scheme/code. The abbreviation CA$ is also used, e.g., in some software packages.</blockquote> | ||
::Any of which can be marked up thus: <nowiki><abbr class="currency" title="CAD">C$</abbr></nowiki> (or whatever "class" we eventually decide on) since any of them is a "symbol" representing CAD. - Andy Mabbett | ::Any of which can be marked up thus: <nowiki><abbr class="currency" title="CAD">C$</abbr></nowiki> (or whatever "class" we eventually decide on) since any of them is a "symbol" representing CAD. - Andy Mabbett |
Revision as of 15:50, 22 September 2006
Currency formats prior art
This page gathers information about existing practices and standards for representing currencies and currency-qualified numbers/amounts.
Formats
ISO 4217
ISO 4217 is an international standard for 3-letter currency codes.
Interactive Financial Exchange (IFX)
The IFX Forum develops a robust framework for the electronic business-to-business exchange of data among financial service institutions around the world".
Altough adapted to XML implementations, the IFX data model has been designed independently of XML technologies, so that it can be implemented using other representations than XML.
IFX defines the concept of a currency amount (CurAmt), which contains:
- an amount (Amt), which is a decimal value
- a currency code (CurCode), which is a 3-letter value defined in ISO-4217
OFX
The Open Financial Exchange is a standard developed by Microsoft and Quicken for personal finance managers. They use the following conventions for currencies and currency values.
They have the concept of a default currency ("CURDEF"), which is a 3-letter ISO-4217 value.
Then they have the concept of the currency that a value is expressed in ("CURRENCY"), again with a 3-letter ISO-4217.
Last, there is also an option to provide an original currency, if the value has been converted. The ORIGCURRENCY contains a CURSYM (in ISO-4217) and a CURRATE, ratio of CURDEF to CURSYM.
Canadian dollar
Although the representation of a canadian dollar according to ISO-4217 is CAD, the most common representation of the currency according to some is CDN.
According to wikipedia:
There are various common abbreviations to distinguish the Canadian dollar from others: while the ISO currency code CAD (a three-character code without monetary symbols) is common, no single system is universally accepted. C$ is recommended by the Canadian government (e.g., per The Canadian Style guide) and is used by the International Monetary Fund, while Editing Canadian English indicates Can$ and CDN$; both guides note the ISO scheme/code. The abbreviation CA$ is also used, e.g., in some software packages.
- Any of which can be marked up thus: <abbr class="currency" title="CAD">C$</abbr> (or whatever "class" we eventually decide on) since any of them is a "symbol" representing CAD. - Andy Mabbett
Other
Other standards exist for specific currencies.