note 83740 deleted from function.number-format by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 11:01:03 +0000 |
| Subject: | note 83740 deleted from function.number-format by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-197018@lists.php.net to get a copy of this message | ||
Note Submitter: xkeeper at gmail dot com
----
Technically, you can just use number_format() with "x" as the thousands seperator, then...
<?php
str_replace("x", "character of choice", number_format(1234.56, ".",
"x"));
?>
This will probably be many times more efficient.