Opened 14 years ago

Closed 13 years ago

#12 closed enhancement (wontfix)

Add currencies

Reported by: bfinn Owned by:
Priority: major Milestone:
Component: Keywords:


As this system is intended for business and presumably economic as well as scientific purposes, it seems strange that there is no provision for currency units - allowing one for example to specify the price of oil in $ per barrel, or gold in say Euro per ounce, and thereby assist automatic conversion between currencies when combined with other units.

There are standard 3-character currency names as defined in ISO 4217 (see ) which I assume your standard should incorporate.

It would also be useful to be able to specify a date (or average over a date-range) which the currency's value is to be taken at; e.g. in economics one often specifies amounts using the average value of the US$ during the year 2000. In economics it is also common to specify when a value is purchasing power parity adjusted (for international comparisons) - a common unit in use being the PPP-adjusted US$ (sometimes called the 'international dollar' or Int$).

Economists & businesspeople may be able to make further suggestions for implementation of currencies.

Ben Finn ben@…

Change History (1)

comment:1 Changed 13 years ago by Gunther Schadow

Resolution: wontfix
Status: newclosed

This is definitely out of scope. Currencies look like units of measure but are very different. Currency values fluctuate constantly, unit values remain stable. If you need to specify price (USD per gallon) you are better off to have a data structure that clearly separates the monetary amount and the physical quantity.

See the HL7 data types specification (an early but still for an example.

Note: See TracTickets for help on using tickets.