note 16060 deleted from function.sprintf by didou
| From: | didou@php.net | Date: | Fri, 03 Oct 2003 11:49:13 +0000 |
| Subject: | note 16060 deleted from function.sprintf by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57720@lists.php.net to get a copy of this message | ||
Note Submitter: mikei@mizydors.rubikon.pl
----
Problem: get the scientific representation of float number.
Solve: I didn't found it easy.
Although I use MySQL query:
select IF(value=0, 0, value) from PVDouble
And result is OK, but...
there aren't 'e' char in docs to sprintf format string, but it works ... don't
works good, but works. Result has truncated only to numbers char - 'e10'/'e-10'
doesn't appear...