floating point format
| From: | Bill Rausch | Date: | Tue, 02 Oct 2001 23:04:50 +0000 |
| Subject: | floating point format | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-69649@lists.php.net to get a copy of this message | ||
I've notice that I can read floating point format like:
1.932E+12
Is there any way to output such a number. The %f format string in printf just prints 1932000000000.000000. Then I tried %e and got very strange results. The 1.932 was printed with nothing after it.
--
Bill Rausch, Software Development, Unix, Mac, Windows
Numerical Applications, Inc. 509-943-0861 bill@numerical.com