Using PI constant : Math « System Functions « Perl






Using PI constant

      

use Math::Trig;

print "Pi = ", pi, "\n";

   
    
    
    
    
    
  








Related examples in the same category

1.Create a big integer
2.use Math::BigInt;