Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BUG ??? CAST FLOAT et notation scientifique.

8 views
Skip to first unread message

thomasb

unread,
Nov 29, 2011, 8:19:40 AM11/29/11
to
PHP Version => 5.2.6-1+lenny9

System => Linux domU-######################## #1 SMP Fri Feb 15
12:34:28 EST 2008 x86_64
Build Date => Aug 4 2010 06:04:33
Server API => Command Line Interface


Le script :
================
<?
$num1= 201004100000;
$num2= 201004200000;
$num3= 201004300000;

echo (float)$num1."\n";
echo (float)$num2."\n";
echo (float)$num3."\n";
?>

================

Execution :

201004100000
2.010042E+11 <==== ????
201004300000
0 new messages