programming-examples/perl/SystemFunction/Using rad2deg to convert radian to degree.pl
2019-11-15 12:59:38 +01:00

3 lines
62 B
Perl

use Math::Trig;
print "Pi in degrees = ", rad2deg pi, "\n";