Re: Currency stored as cents

From: Date: Sat, 02 Jul 2005 10:02:43 +0000
Subject: Re: Currency stored as cents
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-218017@lists.php.net to get a copy of this message
Satyam wrote:
Now, am I missing something in all this? Please comment. Thanks Satyam
Just use the Arbitrary Precision Mathematics functions in PHP, set to a precision of 2 decimal places. There's bcmath[1] and GMP[2]. Jasper [1] http://www.php.net/bc [2] http://www.php.net/gmp

« previous php.general (#218017) next »