ID: 21659 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: linux PHP Version: 4.3.0 New Comment:
See bug #21658, it's the same so this one is not needed -> bogus. Previous Comments: ------------------------------------------------------------------------ [2003-01-15 08:10:55] [EMAIL PROTECTED] Error with sprintf i obtain conversion from numbner in not printable caracter. various numebr of my application don't work now see above ------------------------------------------------------------------------ [2003-01-15 08:09:57] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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