in reply to strange rounding

perldoc -q decimal
--
edan