FLOAT

From: Date: Fri, 03 Oct 2003 00:26:54 +0000
Subject: FLOAT
Groups: php.general 
Request: Send a blank email to php-general+get-164832@lists.php.net to get a copy of this message
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 (#164832) next »