Re: significant digits in php
by "Rossi Designs" <webmaster(at)rossidesigns.net>
|
Date: |
Mon, 20 Mar 2000 15:32:46 -0500 |
To: |
"Steve Segarra" <ssegarra(at)mitre.org>, "hwg-techniques" <hwg-techniques(at)hwg.org> |
References: |
mitre |
|
todo: View
Thread,
Original
|
|
number_format() see the manual, printf() might also work
Rossi Designs
(904) 226-8979
P.O. Box 1084, Holly Hill, Florida 32125-1084
http://rossidesigns.net
----- Original Message -----
From: Steve Segarra <ssegarra(at)mitre.org>
To: hwg-techniques <hwg-techniques(at)hwg.org>
Sent: Monday, March 20, 2000 1:41 PM
Subject: significant digits in php
| How do you specify the number of significant digits to be displayed in
php?
| ie,:
| if the result of a calculation is 13.4738250952789 and I only want to
| display 13.47, how would I do this?
|
| Thanks
| Steve
|
|
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA