php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4890 function ceil won't round up
Submitted: 2000-06-08 11:47 UTC Modified: 2000-06-22 23:42 UTC
From: mail at dennisheck dot de Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.0 Release OS: Windows95
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mail at dennisheck dot de
New email:
PHP Version: OS:

 

 [2000-06-08 11:47 UTC] mail at dennisheck dot de
$sites=ceil(bcdiv($number,$wieviele,1));

with $number=3 , $wieviele=10 the result has been 0 instead of 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-22 23:42 UTC] hholzgra at cvs dot php dot net
once again a locale problem

fixed in curretn cvs,
for 4.0.0 use set_locale(LC_ALL,"C");
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 13 22:00:02 2026 UTC