#30729 [Fbk->NoF]: error at round() function

From: Date: Mon, 21 Feb 2005 18:59:15 +0000
Subject: #30729 [Fbk->NoF]: error at round() function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-74361@lists.php.net to get a copy of this message
ID: 30729 Updated by: sniper@php.net Reported By: fansyah at yahoo dot com -Status: Feedback +Status: No Feedback Bug Type: Math related Operating System: win32 only PHP Version: 4.3.9 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2005-02-03 04:45:04] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2004-11-24 01:30:12] sniper@php.net Works fine within Linux... ------------------------------------------------------------------------ [2004-11-09 07:03:48] fansyah at yahoo dot com Description: ------------ i have fraction 2.135 or 2.155 or 2.175 or 2.195 with around() function like this example: around(2.135,2) with result 2.13 it should be 2.14 Reproduce code: --------------- $b=2.135; echo round($b,2); Expected result: ---------------- 2.14 Actual result: -------------- 2.13 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30729&edit=1

« previous php.bugs (#74361) next »