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
In reply to Re^2: Math::round not rounding correctly (string)
by tye
in thread Math::round not rounding correctly
by bulrush
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |