|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16571 PHP fails to retrieve DECIMAL or NUMERIC values correctly from Interbase
Submitted: 2002-04-12 13:05 UTC Modified: 2002-04-12 19:55 UTC
From: frank dot segtrop at estiem dot org Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.1.2 OS: WindowsNT SP 6a
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: frank dot segtrop at estiem dot org
New email:
PHP Version: OS:


 [2002-04-12 13:05 UTC] frank dot segtrop at estiem dot org

PHP still fails to correctly retrieve DECIMAL or NUMERIC colums from Interbase on WindowsNT.

After the point, it returns the precision of the DECIMAL instead of the actual value. That error seems to be quite old now, could a fix finally be made part of the Windows executables?

A possible fix, by the way, is to use the F_FIXED_POINT UDF function from the FreeUDFLib, or casting the columns into Strings before PHP gets them, so still in the SELECT statement or the stored_procedure or the view. But, that is not very handy, so please fix that bug.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-12 19:17 UTC]
It 's already fixed.
The new php_interbase.dll should be in Official Release Candidate planned on April 22th.

 [2002-04-12 19:55 UTC]
The actual release should happen on 22nd. :)
But you can already get the RC3 from here:

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 22 05:01:30 2024 UTC