#47732 [Opn->Bgs]: ceil function add incorrect characters at the end

From: Date: Fri, 20 Mar 2009 14:40:20 +0000
Subject: #47732 [Opn->Bgs]: ceil function add incorrect characters at the end
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-134928@lists.php.net to get a copy of this message
ID: 47732 Updated by: pajoye@php.net Reported By: egorich at junik dot lv -Status: Open +Status: Bogus Bug Type: Math related Operating System: Windows 2003 PHP Version: 5.2.9 New Comment: check your script, there is certainly some trailing characters (or badly enconded). C:\Users\pierre\Documents\test\php529-1>php -r "echo ceil(3350/200);" 17 C:\Users\pierre\Documents\test\php529-1> Previous Comments: ------------------------------------------------------------------------ [2009-03-20 14:35:01] egorich at junik dot lv Description: ------------ When using ceil(3350/200) I get 2 more symbols (.:) at the end of the result; Using PHP 5.2.9-1 Reproduce code: --------------- echo ceil(3350/200); Expected result: ---------------- 17 Actual result: -------------- 16.: ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47732&edit=1

« previous php.bugs (#134928) next »