#26643 [NEW]: numeric converted to float
| From: | michael dot frank at bmg dot com | Date: | Wed, 17 Dec 2003 08:27:20 +0000 |
| Subject: | #26643 [NEW]: numeric converted to float | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-52199@lists.php.net to get a copy of this message | ||
From: michael dot frank at bmg dot com
Operating system: RedHat Linux
PHP version: 4.3.4
PHP Bug Type: Sybase-ct (ctlib) related
Bug description: numeric converted to float
Description:
------------
When I try to fetch a numeric (18,0) value in php 4.2.3 I get correct
values. After upgrade to php 4.3.4 I get converted numbers.
On the older Version i Recieved e.g.:
1150000000002401
on the new version i get this:
1.1500000000024E+15
It seems like a old php bug - but i have the newest PHP Version running
Sybase is ASE 12.5 on RedhatLinux. Apache is 1.3.29
--
Edit bug report at http://bugs.php.net/?id=26643&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26643&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26643&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26643&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26643&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26643&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26643&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26643&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26643&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26643&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26643&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26643&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26643&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26643&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26643&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26643&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26643&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26643&r=float