#23713 [NEW]: printf, sprintf, round... (bug?)
| From: | techman at ifs dot com dot ua | Date: | Tue, 20 May 2003 10:40:06 +0000 |
| Subject: | #23713 [NEW]: printf, sprintf, round... (bug?) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-40026@lists.php.net to get a copy of this message | ||
From: techman at ifs dot com dot ua
Operating system: FreeBSD 4.8-RELEASE
PHP version: 4.3.1
PHP Bug Type: Unknown/Other Function
Bug description: printf, sprintf, round... (bug?)
round(0.1755, 3)=0.175 (should be 0.176)
printf("%.4f", 0.17765)=0.1776 (should be 0.1777)
any questions?
--
Edit bug report at http://bugs.php.net/?id=23713&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23713&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23713&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23713&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23713&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23713&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23713&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23713&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23713&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23713&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23713&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23713&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23713&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23713&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23713&r=gnused