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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 - 24 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 16:01:30 2024 UTC