|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-12-03 10:37 UTC] aharvey@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: aharvey
[2010-12-03 11:10 UTC] aharvey@php.net
[2010-12-03 11:10 UTC] aharvey@php.net
-Status: Assigned
+Status: Closed
[2010-12-03 11:10 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 18:00:01 2025 UTC |
Description: ------------ From the documentation for number_format function: thousands_sep Sets the thousands separator. Only the first byte of thousands_sep is used. This makes it useless for any real world usage. The recommended HTML character for thousands separator is half-space, or   which is 8 characters. Function is only usable for obsolete or archaic systems http://en.wikipedia.org/wiki/Thin_space http://en.wikipedia.org/wiki/Thousands_separator#Digit_grouping Test script: --------------- echo number_format(123456, 2, '.', ' '); Expected result: ---------------- 123 456.00 Actual result: -------------- 123&456.00