in reply to
Decimal Removal
Rounding to the nearest integer ought to be done with
sprintf
:
my $rounded = sprintf "%.0f" => $not_rounded;
[download]
Abigail
Comment on
Re: Decimal Removal
Select
or
Download
Code
In Section
Seekers of Perl Wisdom