php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23713 printf, sprintf, round... (bug?)
Submitted: 2003-05-20 05:40 UTC Modified: 2003-05-20 05:43 UTC
From: techman at ifs dot com dot ua Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.1 OS: FreeBSD 4.8-RELEASE
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: techman at ifs dot com dot ua
New email:
PHP Version: OS:

 

 [2003-05-20 05:40 UTC] techman at ifs dot com dot ua
round(0.1755, 3)=0.175 (should be 0.176)
printf("%.4f", 0.17765)=0.1776 (should be 0.1777)
any questions?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-20 05:43 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

see our manual on \"float\" too...
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 11:01:32 2025 UTC