Re: Precision value in PHP??

From: Date: Wed, 13 Aug 2003 17:25:45 +0000
Subject: Re: Precision value in PHP??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159458@lists.php.net to get a copy of this message
> When I do this calculation, 77 * 2.00 = 154.00 but with PHP, it return only > "154". What do you get if you do: 77 * 2.01? for the ".00", you might want to look into using number_format(); Chris

« previous php.general (#159458) next »