#21659 [Opn->Bgs]: sprintf
| From: | derick@php.net | Date: | Wed, 15 Jan 2003 14:09:57 +0000 |
| Subject: | #21659 [Opn->Bgs]: sprintf | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30115@lists.php.net to get a copy of this message | ||
ID: 21659
Updated by: derick@php.net
Reported By: matteo@euronia.it
-Status: Open
+Status: Bogus
Bug Type: *General Issues
PHP Version: 4.3.0
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2003-01-15 08:08:41] matteo@euronia.it
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 this bug report at http://bugs.php.net/?id=21659&edit=1