Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2016-06-26 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (330 votes). Check out past polls.