See the comments following the fround member descriptions in the Math::BigFloat docs.
use Math::BigFloat; my $num = Math::BigFloat->new (0.006185625); print "Before: $num\n"; $num->fround (6, 'odd'); print "After: $num\n";
Prints:
Before: 0.006185625 After: 0.00618563
In reply to Re: Math::BigFloat Rounding
by GrandFather
in thread Math::BigFloat Rounding
by BarMeister
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |