summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2011-10-01 14:55:37 +0000
committerjmc <jmc@openbsd.org>2011-10-01 14:55:37 +0000
commit9f6283860a84d7b65455f427edccc4ba46c1d7c3 (patch)
tree4af81c597b4c35b57061184592e0acd2730e6361
parentfix some checks. (diff)
downloadwireguard-openbsd-9f6283860a84d7b65455f427edccc4ba46c1d7c3.tar.xz
wireguard-openbsd-9f6283860a84d7b65455f427edccc4ba46c1d7c3.zip
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.
-rw-r--r--usr.bin/units/units.lib52
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