Re: PHP 4.0 Bug #5618: Floating point number not working

From: Date: Sat, 15 Jul 2000 13:02:49 +0000
Subject: Re: PHP 4.0 Bug #5618: Floating point number not working
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-24628@lists.php.net to get a copy of this message
Upgrade to 4.0.1 please. Zeev On 15 Jul 2000 hgoba@freemail.hu wrote: > From: hgoba@freemail.hu > Operating system: Win98 or Win98SE > PHP version: 4.0 Release Candidate 1 > PHP Bug Type: Other > Bug description: Floating point number not working > > <?php > > $num = 3.14; > echo $num; //this prints out 3 > > ?> > > This error occurs with the default > ini file, but this prints 3.14 with PHP3.0.16. > > This is the case for all float thing, for > example placing a float element in an > array places the integer part of the num... > > > -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.dev (#24628) next »