#1376 [Com]: return wrong value (with decimal dot) from numeric(7.0) fields

From: Date: Fri, 21 Feb 2003 10:17:33 +0000
Subject: #1376 [Com]: return wrong value (with decimal dot) from numeric(7.0) fields
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33804@lists.php.net to get a copy of this message
ID: 1376 Comment by: c dot villemagne at circo dot fr Reported By: gena at svt dot unity dot net Status: Closed Bug Type: Sybase (dblib) related Operating System: linux Redhat 5.2 PHP Version: 3.0.7 New Comment: I have a same bug but i am in php 4.3.0. Please help me! Previous Comments: ------------------------------------------------------------------------ [1999-11-05 03:57:25] thies at cvs dot php dot net please try lastest CVS ------------------------------------------------------------------------ [1999-05-04 00:58:32] gena at svt dot unity dot net $art = sybase_query("SELECT id_article from articles",1); $arr_art = sybase_fetch_array($art); $data_id=$arr_art[0]; } $data_id receive value 1.0 not 1, and later, select where id=$data_id don't work. This select only work after settype($data_id,integer); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=1376&edit=1

« previous php.bugs (#33804) next »