Type:Currency amount
From semanticweb.org
[edit] Values
As of 9 pm Mar 14 CET, 2008 according to http://finance.google.com/finance
| Exchange rate (value of 1 US Dollar) and allowed currency symbols | Description |
|---|---|
| 1 $, USD | US Dollars |
| 0.638 €, euro, EUR | European Monetary Union |
| 0.495 GBP, pounds | United Kingdom British pound or pounds sterling |
| 99.21 JPY,¥,¥ | Japanese Yen |
Note that in SMW 0.5, the currency symbol must follow the amount.
[edit] TODO
Automatically regenerate the conversion rates in this page each day. http://www.newyorkfed.org/xml/schemas/FX_Utility.xsd lists various currency codes as enumerated values of CL_CURRENCY_UNIT.
Users need to know when the currency was converted and/or the date of the currency conversion factors. In the tooltip display of alternate currencies, we could show the date of the conversion, based on the date of last update:
(Currency conversions as of 2006-05-03)
If/when float values support prefixes, we can do $59.95 and £20.
Maybe there should be a way to overload the float value to specify a precision (e.g. 100 cents) and format.
[edit] Alternative approach
Use service links to provide a link in the factbox to an external currency conversion tool. Then currency properties can just be of Type:Number, which will remember the currency unit after the number but won't try to convert it, however the external currency conversion tool will perform the conversion. See Property:Monetary amount
