![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Floating point problemsby toma (Vicar) |
on Oct 24, 2010 at 07:24 UTC ( #867021=note: print w/replies, xml ) | Need Help?? |
Instead of int(), I prefer to use one of the functions in Math::Round.
It should work perfectly the first time! - toma
In Section
Seekers of Perl Wisdom
|
|