|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15314 php can't handle values of type double correcty
Submitted: 2002-01-31 08:43 UTC Modified: 2002-04-13 14:46 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: tchemaly at ing dot sun dot ac dot za Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.1.1 OS: win32
Private report: No CVE-ID: None
 [2002-01-31 08:43 UTC] tchemaly at ing dot sun dot ac dot 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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-13 14:46 UTC]
This bug it's been fixed.
Please try the php-4.2.0RC3 from 

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".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 16 07:01:31 2024 UTC