|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12423 float point assignment error
Submitted: 2001-07-27 09:25 UTC Modified: 2002-01-21 09:27 UTC
From: noIdea at mailbox dot sk Assigned:
Status: Not a bug Package: ODBC related
PHP Version: 4.0.6 OS: Windows 98
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: noIdea at mailbox dot sk
New email:
PHP Version: OS:


 [2001-07-27 09:25 UTC] noIdea at mailbox dot sk
It's easy to describe:

echo odbc_result($ref, "column");
$a = (double) odbc_result($ref, "column");
echo "   /   " . $a;


55.25   /   55

If I'm assigned result from odbc_result to some variable, it's ALWAYS convertet from DOUBLE to INTEGER.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-21 09:27 UTC]
I'm unable to reproduce this using PostgreSQL/ODBC.  
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jan 26 23:03:47 2022 UTC