Re: Name for converter of units/currency

From: Date: Sun, 07 Jan 2001 18:41:44 +0000
Subject: Re: Name for converter of units/currency
References: 1  Groups: php.pear 
Request: Send a blank email to php-pear+get-837@lists.php.net to get a copy of this message
On Sun, 7 Jan 2001, Chuck Hagenbuch wrote: > Quoting jmh3@linuxfreak.com: > > > have you ever purchased something in quantity? things are sold on a per > > volume, length, mass, power, etc. basis all of the time. i think an > > international commerce site would benifit from being able convert /both/ > > at the same time. > > Try to think generally. Are international commerce sites going to be the > _general_ case for using this class? Unless I am mistaken and somehow they are, > it makes sense to split it up and to let people who need both - like > international commerce sites - include both classes, instead of forcing both on > everyone. that was just the first example that popped into my head, and it's not the only instance where it would be useful. it's up to you guys. when i think of units it really doesnt matter what i am measureing-i usually normalize everything and make it dimensionless anyway. it just seems silly to me to stick all measurement forms into one class except monitary measurement. john :wq > > -chuck > > -- > Charles Hagenbuch, <chuck@horde.org> > "If you can't stand the heat, get out of the chicken!" - Baby Blues > > -- > PHP Extension and Add-on Repository (PEAR) mailing list. > Documentation can be found at http://pear.php.net/doc/pear.html > To unsubscribe, e-mail: php-pear-unsubscribe@lists.php.net from the > mail address you subscribed with. >

« previous php.pear (#837) next »