#23590 [NEW]: decimal part uncomplete for real type
| From: | adrien_comlan at yahoo dot fr | Date: | Mon, 12 May 2003 10:44:35 +0000 |
| Subject: | #23590 [NEW]: decimal part uncomplete for real type | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-39478@lists.php.net to get a copy of this message | ||
From: adrien_comlan at yahoo dot fr
Operating system: w2k
PHP version: 4.3.2RC2
PHP Bug Type: Sybase-ct (ctlib) related
Bug description: decimal part uncomplete for real type
non significant zero are not return with sybase_fetch_
functions
ex : decimal(10,2)
14.3 is return instead of 14.30 in database
100 is return instead of 100.00 in database
db : ase 11.9.2
os : w2k
code
$ls_query = "select * from mytable";
$res = sybase_query($ls_query,$cnx);
while ($op_by_int = sybase_fetch_array($res))
{
while (list( $key, $value ) = each( $op_by_int ))
{
echo "<br>$key => $value";
}
}
thanks
--
Edit bug report at http://bugs.php.net/?id=23590&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23590&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23590&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23590&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23590&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23590&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23590&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23590&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23590&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23590&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23590&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23590&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23590&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23590&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23590&r=gnused