ID: 38683 Updated by: [EMAIL PROTECTED] Reported By: whitephoenix at mail dot ru -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: WinXP. PHP 5.2.0 RC3 PHP Version: 5CVS-2006-09-01 (CVS) New Comment:
. Previous Comments: ------------------------------------------------------------------------ [2006-09-01 21:12:28] [EMAIL PROTECTED] You must be doing something wrong there: C:\php4build\installer\Files>php -v PHP 5.2.0RC3 (cli) (built: Sep 1 2006 16:29:07) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies C:\php4build\installer\Files>php -r "var_dump(round(0.123));" float(0) ------------------------------------------------------------------------ [2006-09-01 20:23:21] whitephoenix at mail dot ru Description: ------------ see code :) Reproduce code: --------------- echo round(0.123); Expected result: ---------------- 0 Actual result: -------------- 0.123 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38683&edit=1