Bug #12228 Updated: type convretion problem
| From: | kalowsky@php.net | Date: | Mon, 21 Jan 2002 14:23:27 +0000 |
| Subject: | Bug #12228 Updated: type convretion problem | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-77677@lists.php.net to get a copy of this message | ||
ID: 12228
Updated by: kalowsky
Reported By: noIdea@mailbox.sk
Old Status: Open
Status: Duplicate
Bug Type: ODBC related
Operating System: Windows 98
PHP Version: 4.0.4pl1
New Comment:
duplicate of 12423
Previous Comments:
------------------------------------------------------------------------
[2001-07-18 07:16:16] noIdea@mailbox.sk
Easy to describe:
echo odbc_result($ref, "column");
$a = (double) odbc_result($ref, "column");
echo " / " . $a;
output:
55.25 / 55
If I assign result from odbc_result to some variable, it's ALWAYS
convertet to INTEGER.
(I'm used MS Access 2000.)
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12228&edit=1