note 67181 added to function.sprintf
| From: | marcelo dot f dot dantas at gmail dot com | Date: | Mon, 05 Jun 2006 03:30:59 +0000 |
| Subject: | note 67181 added to function.sprintf | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-113226@lists.php.net to get a copy of this message | ||
Looks like "%0.2f" is a better option to format currency. I tried the example but it
didn´t work ... "%0.2f" gave me the expected result.
----
Server IP: 66.163.161.117
Probable Submitter: 201.79.109.16
----
X-Spam-Status: Yes, hits=7.4 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER,
HEAD_ILLEGAL_CHARS autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.sprintf.php
Edit -- http://master.php.net/note/edit/67181
Del: integrated -- http://master.php.net/note/delete/67181/integrated
Del: useless -- http://master.php.net/note/delete/67181/useless
Del: bad code -- http://master.php.net/note/delete/67181/bad+code
Del: spam -- http://master.php.net/note/delete/67181/spam
Del: non-english -- http://master.php.net/note/delete/67181/non-english
Del: in docs -- http://master.php.net/note/delete/67181/in+docs
Del: other reasons-- http://master.php.net/note/delete/67181
Reject -- http://master.php.net/note/reject/67181
Search -- http://master.php.net/manage/user-notes.php