#45668 [Opn->Bgs]: number_format() issue
| From: | scottmac@php.net | Date: | Thu, 31 Jul 2008 17:05:06 +0000 |
| Subject: | #45668 [Opn->Bgs]: number_format() issue | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-127446@lists.php.net to get a copy of this message | ||
ID: 45668
Updated by: scottmac@php.net
Reported By: challado at ibocchi dot com dot br
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Debian lenny/sid
PHP Version: 5.2.6
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
PHP integers are signed integers.
−2,147,483,648 to +2,147,483,647
Previous Comments:
------------------------------------------------------------------------
[2008-07-31 16:46:14] challado at ibocchi dot com dot br
Description:
------------
Hello all!
I made the follow code to test the number format, because that I have
problems in my system.
The code, and the output has follows.
This is a bug or a error in my locale settings, etc?
Reproduce code:
---------------
<?
echo number_format(123123123123123123123123123123123123123,2,',','.');
?>
Expected result:
----------------
123.123.123.123.123.123.123.123.123.123.123.123.123,00
Actual result:
--------------
123.123.123.123.123.100.951.395.432.586.484.383.744,00
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45668&edit=1