php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #5246 round() is not well documented
Submitted: 2000-06-28 12:11 UTC Modified: 2000-06-28 13:04 UTC
From: miki at canaan dot co dot il Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.0 Release OS: not relevant
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: miki at canaan dot co dot il
New email:
PHP Version: OS:

 

 [2000-06-28 12:11 UTC] miki at canaan dot co dot il
round accept round(float, presision after the dot);
but in the document its says that round accept only float and its not metion the other variable.

from the docs
----------------------------------------
double round(double val);

Returns the rounded value of val. 
----------------------------------------

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-28 13:03 UTC] sli at cvs dot php dot net
Fixed in latest CVS.
 [2000-06-28 13:04 UTC] sli at cvs dot php dot net
Forgot to close it :)
 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of sli
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=7c10f40d3e75f3ef0b4ac95dbda8f2264370da5a
Log: Fixed Bug #5246: round() has a second optional argument
 [2020-02-07 09:57 UTC] phpdocbot@php.net
Automatic comment on behalf of sli
Revision: http://git.php.net/?p=doc/de.git;a=commit;h=a3ae054ebaf41ebc1452445866f2219a84edc639
Log: Fixed Bug #5246: round() has a second optional argument
 [2020-12-30 11:15 UTC] nikic@php.net
Automatic comment on behalf of sli
Revision: http://git.php.net/?p=doc/de.git;a=commit;h=0535247e16552e805fde5fa8c6d064c9d870f02e
Log: Fixed Bug #5246: round() has a second optional argument
 [2020-12-30 11:21 UTC] nikic@php.net
Automatic comment on behalf of sli
Revision: http://git.php.net/?p=doc/it.git;a=commit;h=950033a326e6c073789c87ff023c461a38ab469a
Log: Fixed Bug #5246: round() has a second optional argument
 [2020-12-30 11:59 UTC] nikic@php.net
Automatic comment on behalf of sli
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=941dec88b4ba4f36ecd50baa15ab7b421ce26d0f
Log: Fixed Bug #5246: round() has a second optional argument
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 15 10:00:01 2026 UTC