Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Printf/Sprintf Behavior Change

by boftx (Deacon)
on Sep 16, 2013 at 23:57 UTC ( #1054354=note: print w/replies, xml ) Need Help??

in reply to Printf/Sprintf Behavior Change

If one can infer that you are working with currency amounts, then I suggest taking a look at Math::Currency from CPAN to help alleviate/eliminate any rounding errors you encounter before any final formatting.

Replies are listed 'Best First'.
Re^2: Printf/Sprintf Behavior Change
by Anonymous Monk on Sep 17, 2013 at 03:39 UTC