note 64489 deleted from function.sprintf by bjori
| From: | bjori@php.net | Date: | Sun, 16 Apr 2006 12:02:01 +0000 |
| Subject: | note 64489 deleted from function.sprintf by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108243@lists.php.net to get a copy of this message | ||
Note Submitter: stormfly ( sf at hyh dot pl )
----
To cut zeroes on end try this:
<?php
$sX = "1.2030";
echo $sX + 0;
// output 1.203
?>