From owner-cvs-all Wed Jul 10 18:30:58 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 155EB37B400; Wed, 10 Jul 2002 18:30:52 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 880A243E3B; Wed, 10 Jul 2002 18:30:50 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 92FC8812F0; Thu, 11 Jul 2002 11:00:48 +0930 (CST) Date: Thu, 11 Jul 2002 11:00:48 +0930 From: Greg 'groggy' Lehey To: Garrett Wollman Cc: Dag-Erling Smorgrav , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Exchange rate fluctuations (was: cvs commit: src/usr.bin/units units.lib) Message-ID: <20020711013048.GG19048@wantadilla.lemis.com> References: <200207100913.g6A9DgKX009215@freefall.freebsd.org> <20020710131548.D36004@uriah.heep.sax.de> <200207102103.g6AL3s8Y046834@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207102103.g6AL3s8Y046834@khavrinen.lcs.mit.edu> User-Agent: Mutt/1.3.99i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday, 10 July 2002 at 17:03:54 -0400, Garrett Wollman wrote: > < said: > >> all fine and dandy, except today's rate is 1.0115, and last Friday it >> was 1.03, and tomorrow's rate will be something else again, and next >> month it might be 0.95 or it might be 1.15, who knows? And you still >> insist this is meaningful? > > Most exchange rates do not change very rapidly over time. USD 1.50 has > been approximately equal to GBP 1 for a very long time. For some definition of 1.50. In fact, the exchange rate fluctuates wildly enough for these things to be completely useless. > Similarly, before Eurofication, there were almost a dozen European > currencies all approximately equal to each other and about USD 0.18. I can't think of more than about 4 in that range *directly* before Eurofication. I have a good memory of the relationship between USD and DEM. The DEM was about USD 0.40 in the early 80s, and it went up to about USD 0.75 in the early 90s, and then back to about USD 0.55 before it disappeared for good. I don't think this is a range which can be usefully replaced by a constant. > (It would be nice, if we're going to have currencies in units.lib, > if it would accept standard ISO 4617 symbols.) If the tables were > updated yearly, that's probably good enough for most uses. No, I think it's useless for most uses. There are URLs which will give you more useful information, such as http://www.oanda.com/converter/classic. Having these things in static local proograms is completely out of date, like the (now retired) international telephone codes. I think that units should contain constants, not snapshots of variables. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message