Bug #14397 Updated: Wrong results when reading a float
| From: | tony at ec-server dot com | Date: | Mon, 18 Mar 2002 10:20:33 +0000 |
| Subject: | Bug #14397 Updated: Wrong results when reading a float | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2739@lists.php.net to get a copy of this message | ||
ID: 14397
Updated by: tony@ec-server.com
Reported By: hofmann@isl.org
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] sander@php.net
No feedback.
------------------------------------------------------------------------
[2002-01-07 02:35:05] lobbin@php.net
Can you reproduce this error with PHP 4.1.1?
------------------------------------------------------------------------
[2001-12-10 02:36:19] hofmann@isl.org
I found that the wrong float results happen with float(8) but NOT with
float(16) !!!
------------------------------------------------------------------------
[2001-12-10 02:05:59] hofmann@isl.org
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