Mega Code Archive

 
Categories / Perl / System Functions
 

Get the absolute value

$s = -5; print "The absolute value of $s = ", abs $s;