#12423 [Com]: float point assignment error
| From: | lady-free1221 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:11:46 +0000 |
| Subject: | #12423 [Com]: float point assignment error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63068@lists.php.net to get a copy of this message | ||
ID: 12423
Comment by: lady-free1221 at hotmail dot com
Reported By: noIdea at mailbox dot sk
Status: Bogus
Bug Type: ODBC related
Operating System: Windows 98
PHP Version: 4.0.6
New Comment:
<a href=http://slim-armed-blow-arc.da.ru>lady
free</a>
Previous Comments:
------------------------------------------------------------------------
[2002-01-21 09:27:32] kalowsky@php.net
I'm unable to reproduce this using PostgreSQL/ODBC.
------------------------------------------------------------------------
[2001-07-27 09:25:40] noIdea at mailbox dot sk
It's easy to describe:
echo odbc_result($ref, "column");
$a = (double) odbc_result($ref, "column");
echo " / " . $a;
output:
55.25 / 55
If I'm assigned result from odbc_result to some variable, it's ALWAYS
convertet from DOUBLE to INTEGER.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12423&edit=1