XP is just a number | |
PerlMonks |
Re: Math::round not rounding correctlyby Corion (Patriarch) |
on Dec 23, 2014 at 19:35 UTC ( [id://1111214]=note: print w/replies, xml ) | Need Help?? |
Have you read the Standard Floating-Point Disclaimer, as is part of Math::Round? Your situation may be one where it applies. POSIX::ceil and POSIX::floor don't do rounding, they truncate towards an integer number. Maybe you can explain what results you expect and what results you get. Also, please supply code and data we can use to easily replicate your situation.
In Section
Seekers of Perl Wisdom
|
|