|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-06-26 11:18 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 17:00:01 2025 UTC |
Description: ------------ Hello, i have a big problem with number_format. My provider has two PHP-versions 4.4.7 and 5.2.3! On both versions there is the following bug: number_format('1499.994', 2, ',', '.') results 1.499,99 = OK number_format('1499.995', 2, ',', '.') results 1.499,99 = ERROR number_format('1499.996', 2, ',', '.') results 1.500,00 = OK strange is, that on my computer, wher PHP 5 ist lokal running, everything is OK Can somebody help me? Best regards Boris