[PHP-DEV] PHP 4.0 Bug #5618: Floating point number not working From: hgoba <email protected>
Date: 07/15/00

From: hgoba <email protected>
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...

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>