Bug #12423: float point assignment error

From: Date: Fri, 27 Jul 2001 13:25:40 +0000
Subject: Bug #12423: float point assignment error
Groups: php.dev 
Request: Send a blank email to php-dev+get-61215@lists.php.net to get a copy of this message
From: noIdea@mailbox.sk Operating system: Windows 98 PHP version: 4.0.6 PHP Bug Type: *General Issues Bug description: float point assignment error 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 bug report at: http://bugs.php.net/?id=12423&edit=1

« previous php.dev (#61215) next »