note 14093 rejected and deleted from language.types.type-juggling.php by zak

From: Date: Tue, 17 Jul 2001 07:42:53 +0000
Subject: note 14093 rejected and deleted from language.types.type-juggling.php by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-15469@lists.php.net to get a copy of this message
If I have odbc_result as Float point number, after assignment to some variable, it's always converted to INTEGER. Why ? (settype does not help me.) How can I sum an odbc results (in cycle) ? Example: echo odbc_result($res, 'fp column'); $a = odbc_result($res, 'fp column'); echo "<BR>" . $a; Output: 55.25 55

« previous php.notes (#15469) next »