#21659 [Bgs->Opn]: sprintf
| From: | matteo at euronia dot it | Date: | Wed, 15 Jan 2003 14:10:55 +0000 |
| Subject: | #21659 [Bgs->Opn]: sprintf | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30116@lists.php.net to get a copy of this message | ||
ID: 21659
User updated by: matteo@euronia.it
Reported By: matteo@euronia.it
-Status: Bogus
+Status: Open
Bug Type: *General Issues
-Operating System:
+Operating System: linux
PHP Version: 4.3.0
New Comment:
Error with sprintf i obtain conversion from numbner in not printable
caracter.
various numebr of my application don't work now
see above
Previous Comments:
------------------------------------------------------------------------
[2003-01-15 08:09:57] derick@php.net
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.
------------------------------------------------------------------------
[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