round()
rtfm.
On Nov 16, 2004, at 3:38 PM, Chris Payne wrote:
Hi there everyone,
Just a quick question, I’m having to calculate some values from an
existing
database, but on some of the results I get (For example)
0.590666666667
How can I limit the result to only 2 digits after the decimal point
with
PHP?
Thanks
Chris
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.797 / Virus Database: 541 - Release Date: 11/15/2004
--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php