note 112312 rejected from function.number-format by aharvey
| From: | aharvey@php.net | Date: | Fri, 31 May 2013 18:11:37 +0000 |
| Subject: | note 112312 rejected from function.number-format by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-195014@lists.php.net to get a copy of this message | ||
Note Submitter: websmanagers at gmail dot com
----
How to make space is smaller than in the number_format () to php?
I understand that something like that:
$all_hits = number_format($str, 0, '', ' ');
$ all_hits = str_replace (' ', utf8_encode ("\xA0"), $ all_hits);
Only then did the opposite turns more big space
OR
$all_hits = str_replace(' ', html_entity_decode(" ", ENT_COMPAT,
"UTF-8"), $all_hits);
But only big space