#21047 [Opn->Bgs]: Query to float fields don't return the decimal part

From: Date: Mon, 10 Mar 2003 15:27:16 +0000
Subject: #21047 [Opn->Bgs]: Query to float fields don't return the decimal part
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35267@lists.php.net to get a copy of this message
ID: 21047 Updated by: sniper@php.net Reported By: alietss at yahoo dot com -Status: Open +Status: Bogus Bug Type: Sybase-ct (ctlib) related Operating System: Linux RedHat8.0 PHP Version: 4CVS-2002-12-16 (stable) New Comment: Add any comments to bug #22618 where we got some feedback. Previous Comments: ------------------------------------------------------------------------ [2003-03-10 03:52:16] mattiass at commentor dot se Further information, In php 4.2.2, all float numbers are returned as numeric, which is correct. In php 4.3.1, the first row is returned as numeric and the following as integers.. ------------------------------------------------------------------------ [2003-03-10 02:44:47] mattiass at commentor dot se Bug still exsists and has done so since php 4.2.3. Float numbers still only show decimals. The first query row parses correctly, but the rest of the rows foobars. ------------------------------------------------------------------------ [2003-01-16 01:00:04] php-bugs at lists dot php dot net No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-12-31 02:23:51] derick@php.net Cool! The best way would be to supply a patch which you can make with: diff -u original_file.c new_file.c > /tmp/file.c.patch and send put it online somewhere. Thanks! Derick ------------------------------------------------------------------------ [2002-12-30 23:59:19] david at sportodds dot com I've fixed this error by changing the source but how do I post the fix to the site for inclusion in a future build? Please assist? David Hargreave IT Manager SportOdds Systems Pty Limited www.sportodds.com ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21047 -- Edit this bug report at http://bugs.php.net/?id=21047&edit=1

« previous php.bugs (#35267) next »