Bug #12228: type convretion problem
| From: | noIdea at mailbox dot sk | Date: | Wed, 18 Jul 2001 11:16:16 +0000 |
| Subject: | Bug #12228: type convretion problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-60210@lists.php.net to get a copy of this message | ||
From: noIdea@mailbox.sk
Operating system: Windows 98
PHP version: 4.0.4pl1
PHP Bug Type: *General Issues
Bug description: type convretion problem
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 bug report at: http://bugs.php.net/?id=12228&edit=1