in reply to Math::round not rounding correctly
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Math::round not rounding correctly
by bulrush (Scribe) on Dec 23, 2014 at 19:58 UTC |