fork(8) download
  1. <?php
  2.  
  3. $a = (float) 5.4;
  4. $b = (float) 1.4;
  5. $c = $a - $b;
  6. $d = (float)bcsub($a, $b);
  7. var_dump($a, $b, $c, $d);
  8.  
  9. ?>
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
float(5.4)
float(1.4)
float(4)
float(4)