Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054354]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2016-12-04 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (70 votes). Check out past polls.