Zielfelder, Robert wrote:

I suspected that this was the intentional behavior of the function.  For
what I am trying to do, I don't think "banker's rounding" will work.  Not
being a "real" programmer, perhaps I am approaching my problem from the
wrong angle. [...]

From what you've described, using POSIX::floor or POSIX::ceil seems to be exactly the right solution. Now I can see why the banker's rounding was unacceptable in this case.


Thanks for the help and the info.  It helps a novice programmer such as
myself to understand things a bit better.

I'm glad you found it useful.


--
ZSDC Perl Consulting


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to