in reply to Re: Math::round not rounding correctly
in thread Math::round not rounding correctly
A better "work-around" to what is arguably "correct" behavior would be:
$l=Math::Round::round("$x"); # Math::Round::round($x) # vs. this
If what you care about is how the rounding compares to the string output for the number, then what you should be rounding is the string output, of course.
- tye
|
---|