php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #43263 round() example bug
Submitted: 2007-11-12 13:58 UTC Modified: 2007-11-13 12:56 UTC
From: pavhor at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: Windows XP
Private report: No CVE-ID: None
 [2007-11-12 13:58 UTC] pavhor at gmail dot com
Description:
------------
In php_manual_cs.chm example 983. round()

manual: echo round(5.045, 2);    // 5.04

should be: echo round(5.045, 2);    // 5.05



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-13 12:56 UTC] colder@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

http://docs.php.net/round
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 18:00:02 2026 UTC