have a look at:
http://www.php.net/manual/en/function.number-format.php

-----Original Message-----
From: Andrew [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 11:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP] New to list


Hello to you all!
I am new to this list and I have a question that maybe someone can help with

In a script I  am working on I have a math's equation :

((0.416 / $time) * 60) * 60)

this out but a figure at goes to a about 10 decimal places  I only want 2
decimal places and just can not figure out how to do this

Any ideas would be great


Thanks

Andrew
Web Harper Graphics
www.webharpergraphics.com



Reply via email to