fork download
  1. $a = 1.2;
  2. $b = 1.0;
  3. $c = 0.2;
  4.  
  5. print $a - $b <=> $c;
  6. print "\n";
  7. print $a * 10 - $b * 10 <=> $c * 10;
Success #stdin #stdout 0s 17496KB
stdin
Standard input is empty
stdout
-1
0