Bug #15314 Updated: php can't handle values of type double correcty

From: Date: Sat, 13 Apr 2002 18:46:07 +0000
Subject: Bug #15314 Updated: php can't handle values of type double correcty
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4908@lists.php.net to get a copy of this message
ID: 15314 Updated by: daniela@php.net Reported By: tchemaly@ing.sun.ac.za -Status: Open +Status: Closed Bug Type: InterBase related Operating System: win32 PHP Version: 4.1.1 New Comment: This bug it's been fixed. Please try the php-4.2.0RC3 from http://www.php.net/~derick/ If you are still able to reproduce the bug, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-01-31 08:43:51] tchemaly@ing.sun.ac.za PHP interbase can't seem to handle fieldtypes declared as type numeric(x,y). It always returns any value stored in these fields as xyz.y Thus if the value in the interbase database is 4.6 and the fieldtype was declared as numeric(15,4) php returns 4.4 instead of 4.6. It seems that it is appending the precision value instead of the part after the decimal separator. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15314&edit=1

« previous php.bugs (#4908) next »