Mega Code Archive

 
Categories / Php / Data Type
 

Floating-point arithmetic

$a = 1.132324;     $b = $a + 1;     $b = $a + 1.0;     $c = 1.1e15;     $d = (0.1+0.7) * 10;