ID: 14397 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: No Feedback Bug Type: Sybase (dblib) related Operating System: Linux PHP Version: 4.0.6 New Comment:
I have the same error with PHP4.1.1. Even though I use float(16) instead of float(8), or use decimal(15,5), I got the wrong display when fetch a float/decimal/double field. Previous Comments: ------------------------------------------------------------------------ [2002-01-28 10:41:54] [EMAIL PROTECTED] No feedback. ------------------------------------------------------------------------ [2002-01-07 02:35:05] [EMAIL PROTECTED] Can you reproduce this error with PHP 4.1.1? ------------------------------------------------------------------------ [2001-12-10 02:36:19] [EMAIL PROTECTED] I found that the wrong float results happen with float(8) but NOT with float(16) !!! ------------------------------------------------------------------------ [2001-12-10 02:05:59] [EMAIL PROTECTED] I have successfully written a float number into a sybase system - that I can display correctly with isql. But when reading with php I got back 0 oder some strange numbers as 6.784567 instead of teh correct float number. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14397&edit=1
