#21659 [NEW]: sprintf
| From: | matteo at euronia dot it | Date: | Wed, 15 Jan 2003 14:08:41 +0000 |
| Subject: | #21659 [NEW]: sprintf | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-30114@lists.php.net to get a copy of this message | ||
From: matteo@euronia.it
Operating system:
PHP version: 4.3.0
PHP Bug Type: *General Issues
Bug description: sprintf
I obtain from php 4.30 and error using sprintf
My php code generate
a result file in which is it possible to see the bug:
example:
sprintf(%.3f,2.04204204204) = 0.0�0
sprintf(%.3f,2.1981981982) = 000.000
sprintf(%.3f,1.07507507508) = 1.000
sprintf(%.3f,1.98498498498) = 0.000
sprintf(%.3f,0.318318318318) = 0.000
sprintf(%.3f,0.90990990991) = 1.000
sprintf(%.3f,0.660660660661) = 0.000
sprintf(%.3f,2.27327327327) = 000000.000
sprintf generate strange non visible alfanumeric caracter
--
Edit bug report at http://bugs.php.net/?id=21659&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21659&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21659&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21659&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21659&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21659&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21659&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21659&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21659&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21659&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21659&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21659&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21659&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21659&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21659&r=gnused