note 40298 added to function.sprintf
| From: | dj at rn2 dot php dot net | Date: | Fri, 27 Feb 2004 20:50:52 +0000 |
| Subject: | note 40298 added to function.sprintf | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65904@lists.php.net to get a copy of this message | ||
How can I suppress the zero before the decimal point, ie print .25 instead of 0.25 ?
Thanks in advance.
----
Manual Page -- http://www.php.net/manual/en/function.sprintf.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40298
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40298&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40298&report=yes
Search -- http://master.php.net/manage/user-notes.php