PHP 4.0 Bug #3195: Decimal(6,2) values do not get retrieved properly.

From: Date: Wed, 12 Jan 2000 19:04:32 +0000
Subject: PHP 4.0 Bug #3195: Decimal(6,2) values do not get retrieved properly.
Groups: php.dev 
Request: Send a blank email to php-dev+get-14558@lists.php.net to get a copy of this message
From: kphannan@nscorp.com Operating system: Linux RH 6.0 PHP version: 4.0 Beta 2 PHP Bug Type: Sybase-ct (ctlib) related Bug description: Decimal(6,2) values do not get retrieved properly. The following output is the text from an HTML table with the first 2 columns being decimal(6.2) values. The first line should have 235.00 and the first column in the second line should read 226.60. Also the text 'from_mile' changes when refreshing the page. This text always appears to be part of the SQL statement being executed. 235.0ZZZZZZZZZZZZZZZZZZZZZZ 240.0 A N 226.59999999999999from_mile 235.0 A 26.699999999999999ZZZZZZZZZ 15.119999999999999 H 14.5 0.0 I N 77.0 26.699999999999999 H 0.0 11.699999999999999 K 134.69999999999999 77.0 H 140.0 134.69999999999999 H 148.24000000000001 140.0 H S

« previous php.dev (#14558) next »