note 88858 added to function.sprintf
| From: | chuckie at osu1 dot php dot net | Date: | Wed, 11 Feb 2009 11:13:47 +0000 |
| Subject: | note 88858 added to function.sprintf | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-150474@lists.php.net to get a copy of this message | ||
It doesn't actually seem to explicitly say in the documentation that you need a full-stop
before the precision specifier.
It may be helpful to note that the format string should be:
%[sign][padding][alignment][width][.precision]type
Or more explicitly:
%[+|-][ |0|'padding][-][width][.precision]type
----
Server IP: 89.248.170.61
Probable Submitter: 86.93.193.53
----
Manual Page -- http://www.php.net/manual/en/function.sprintf.php
Edit -- https://master.php.net/note/edit/88858
Del: integrated -- https://master.php.net/note/delete/88858/integrated
Del: useless -- https://master.php.net/note/delete/88858/useless
Del: bad code -- https://master.php.net/note/delete/88858/bad+code
Del: spam -- https://master.php.net/note/delete/88858/spam
Del: non-english -- https://master.php.net/note/delete/88858/non-english
Del: in docs -- https://master.php.net/note/delete/88858/in+docs
Del: other reasons-- https://master.php.net/note/delete/88858
Reject -- https://master.php.net/note/reject/88858
Search -- https://master.php.net/manage/user-notes.php