in reply to Math::Round::Var::round() takes no action when a number is not supplied
Did you try it? I get a warning:
The module's source code uses warnings.use Math::Round::Var; my $rnd = Math::Round::Var->new(0.01); # rounds to two decimal places: print $rnd->round(), "\n"; __END__ Use of uninitialized value in sprintf at .../Math/Round/Var.pm line 22 +9. 0.00
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Math::Round::Var::round() takes no action when a number is not supplied
by metaperl (Curate) on Aug 31, 2011 at 02:18 UTC |
In Section
Seekers of Perl Wisdom