Bug #12228 Updated: type convretion problem
| From: | kalowsky@php.net | Date: | Wed, 22 May 2002 03:41:10 +0000 |
| Subject: | Bug #12228 Updated: type convretion problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8160@lists.php.net to get a copy of this message | ||
ID: 12228
Updated by: kalowsky@php.net
Reported By: noIdea@mailbox.sk
-Status: Duplicate
+Status: Closed
Bug Type: ODBC related
Operating System: Windows 98
PHP Version: 4.0.4pl1
Previous Comments:
------------------------------------------------------------------------
[2002-01-21 09:23:27] kalowsky@php.net
duplicate of 12423
------------------------------------------------------------------------
[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