in reply to
Chomp Maybe?
There is also
abs
which return the absolute value.
my $val = -9.99; print abs $val __OUTPUT__ 9.99
[download]
--
flounder
Comment on
Re: Chomp Maybe?
Select
or
Download
Code
In Section
Seekers of Perl Wisdom