http://php.net/number_format -----Original Message----- From: Dale Hersh [mailto:[EMAIL PROTECTED] Sent: Friday, 3 October 2003 10:27 AM To: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php