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.
In reply to Re: Printf/Sprintf Behavior Change
by boftx
in thread Printf/Sprintf Behavior Change
by stingles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |