note 8275 deleted from number_format by zak
| From: | zak@php.net | Date: | Mon, 04 Sep 2000 05:04:14 +0000 |
| Subject: | note 8275 deleted from number_format by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4098@lists.php.net to get a copy of this message | ||
A comma replaces empty string as the last argument because empty string means false, and the parser
thinks you left out the last argument. Use true instead.
Total: $<? echo number_format(2400,2,".",true); ?>
Total: $2400.00