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

From: Date: Thu, 10 Feb 2000 18:01:00 +0000
Subject: PHP 4.0 Bug #3195 Updated: Decimal(6,2) values do not get retrieved properly.
Groups: php.dev 
Request: Send a blank email to php-dev+get-15362@lists.php.net to get a copy of this message
ID: 3195 User Update by: kphannan@nscorp.com Status: Open Bug Type: Sybase-ct (ctlib) related Description: Decimal(6,2) values do not get retrieved properly. The problem still exists with the Beta 3 release, but there appears to be some change in behavior. The original SQL statement text no longer appears in the output. Also refreshing the output maintains consistent results. The numbers do not include extra characters such as 'ZZZZZZZ'. The problem seems to be rooted in the precision and rounding of the numeric value only. For example a number that should be '148.24' is output as '148.24000000000001' Full Bug description available at: http://bugs.php.net/?id=3195

« previous php.dev (#15362) next »