RE: [PHP] FLOAT

From: Date: Fri, 03 Oct 2003 00:44:36 +0000
Subject: RE: [PHP] FLOAT
Groups: php.general 
Request: Send a blank email to php-general+get-164833@lists.php.net to get a copy of this message
http://php.net/number_format -----Original Message----- From: Dale Hersh [mailto:dalehersh@hotmail.com] Sent: Friday, 3 October 2003 10:27 AM To: php-general@lists.php.net Subject: [PHP] FLOAT Hi. I have a question regarding how to manipulate numbers in php. I am currently storing some values as type float in my sql database. When I display the values, I only want to display them to the 100th decimail place. As it stands, the data is written to the screen in the following format: 15.3333333333 Is there any way for me to easily manipulate the data so only 15.33 is displayed. Thanks, Dale

« previous php.general (#164833) next »