diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2011-10-01 14:55:38 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2011-10-01 14:55:38 +0000 |
commit | 5a5a2010d012fe4e95512eaa3e4e0cf41f2b44d0 (patch) | |
tree | fb507e6257efb1341a331f54f8d39db3aaaacb53 /usr.bin | |
parent | d39c5431a2b432c4adcfe6087859cdaecb45f168 (diff) |
provide the exchange rate for those currencies listed in the federal
reserve section (i'll get to the others sometime), as of 23.9.11. i've
also updated the website link, and the date of the exchange rate.
because the rates given on the federal reserve website are in currency
units per US dollar, and units(1) needs US dollars per currency unit,
there is an additional layer of conversion and rounding (and work) to
perform. i have side stepped that by prefixing all the amounts by "1|"
to let units(1) do the work. for whatever reason, four currencies are
given in US dollars per currency unit and do not need this.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/units/units.lib | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/usr.bin/units/units.lib b/usr.bin/units/units.lib index 9072fea3224..e0ec47aa364 100644 --- a/usr.bin/units/units.lib +++ b/usr.bin/units/units.lib @@ -1,4 +1,4 @@ -/ $OpenBSD: units.lib,v 1.17 2011/10/01 09:49:51 jmc Exp $ +/ $OpenBSD: units.lib,v 1.18 2011/10/01 14:55:37 jmc Exp $ / $NetBSD: units.lib,v 1.3 1996/04/06 06:01:04 thorpej Exp $ / primitive units @@ -282,33 +282,33 @@ cd candela lumen cd sr lux cd sr/m2 -/ http://www.federalreserve.gov/releases/h10/update/ as of May 30, 2002 -/ with rounding +/ http://www.federalreserve.gov/releases/h10/current/ +/ as of September 23, 2011 $ dollar -australiadollar .5645 $ -brazilreal .3981 $ -canadadollar .652 $ -chinayuan .1208 $ -denmarkkrone .126 $ -euro 0.937 $ -hongkongdollar .13 $ -indiarupee .0204 $ -japanyen .0081 $ -malaysiaringgit .263 $ -mexicopeso .103 $ -newzealanddollar .477 $ -norwaykrone .126 $ -singaporedollar .560 $ -southafricarand .103 $ -southkoreawon .00082 $ -srilankarupee .0104 $ -swedenkrona .1029 $ -switzerlandfranc .64 $ -taiwandollar .0294 $ -thailandbaht .02357 $ -unitedkingdompound 1.4655 $ -venezuelabolivar .00086 $ +australiadollar .9784 $ +brazilreal 1|1.8585 $ +canadadollar 1|1.0280 $ +chinayuan 1|6.3877 $ +denmarkkrone 1|5.5044 $ +euro 1.3518 $ +hongkongdollar 1|7.8015 $ +indiarupee 1|49.3400 $ +japanyen 1|76.3000 $ +malaysiaringgit 1|3.1650 $ +mexicopeso 1|13.7753 $ +newzealanddollar .7790 $ +norwaykrone 1|5.8365 $ +singaporedollar 1|1.2950 $ +southafricarand 1|8.2600 $ +southkoreawon 1|1164.9000 $ +srilankarupee 1|110.2500 $ +swedenkrona 1|6.8765 $ +switzerlandfranc 1|0.9035 $ +taiwandollar 1|30.3800 $ +thailandbaht 1|30.9100 $ +unitedkingdompound 1.5475 $ +venezuelabolivar 1|4.2893 $ / Wall Street Journal, May 30 2002 |