Re: PHP can't compare...

From: Date: Wed, 05 Dec 2001 17:35:11 +0000
Subject: Re: PHP can't compare...
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-72661@lists.php.net to get a copy of this message
On Wed, 5 Dec 2001, Matthew Hagerty wrote: > The issue that kicked this whole thing off came about because I have to > deal with money values. PHP only has integers and doubles for dealing with > numbers, not counting boolean (unless I missed one), so you can't really > reliably represent, say $3.55. Money math is a tricky beast and values You can also use 1 1/100 of a dollar as unit, so that $3.55 would be represented as 355. Derick

« previous php.dev (#72661) next »