note 96158 deleted from language.types.float by danbrown
| From: | danbrown@php.net | Date: | Thu, 11 Feb 2010 17:38:10 +0000 |
| Subject: | note 96158 deleted from language.types.float by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-165878@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
@pgarvin76:
It doesn't drop the trailing zeros, they never get stored. Try this:
$a = 5.00500;
echo $a;
//result: 5.005