PHP 4.0 Bug #5618: Floating point number not working
| From: | hgoba at freemail dot hu | Date: | Sat, 15 Jul 2000 12:59:42 +0000 |
| Subject: | PHP 4.0 Bug #5618: Floating point number not working | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24627@lists.php.net to get a copy of this message | ||
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...