Bug #12423 Updated: float point assignment error

From: Date: Mon, 21 Jan 2002 14:27:32 +0000
Subject: Bug #12423 Updated: float point assignment error
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77679@lists.php.net to get a copy of this message
ID: 12423 Updated by: kalowsky Reported By: noIdea@mailbox.sk Old Status: Open Status: Bogus Bug Type: ODBC related Operating System: Windows 98 PHP Version: 4.0.6 New Comment: I'm unable to reproduce this using PostgreSQL/ODBC. Previous Comments: ------------------------------------------------------------------------ [2001-07-27 09:25:40] noIdea@mailbox.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

« previous php.dev (#77679) next »