Re: Name for converter of units/currency

From: Date: Fri, 19 Jan 2001 01:40:10 +0000
Subject: Re: Name for converter of units/currency
References: 1 2  Groups: php.pear 
Request: Send a blank email to php-pear+get-1023@lists.php.net to get a copy of this message
I agree. Any data source for conversion rates is either going to be commercial or unreliable :) _alex > How are you intending to find the conversion ratio? If it's to be passed > into the function by the caller, then I would suggest that the class is > unnecessary. $dollars = $sterling / $conversion_ratio is not something > that needs to be encapsulated. If it is to be located from some outside > service, we need to talk about the reliability and general case for this. > If it's to be stored in a database, there are a plethora of implementation > issues. My vote would be to remove currency conversion entirely from PEAR. -alex

« previous php.pear (#1023) next »