Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Printf/Sprintf Behavior Change

by Anonymous Monk
on Sep 17, 2013 at 09:08 UTC ( #1054410=note: print w/ replies, xml ) Need Help??


in reply to Re: Printf/Sprintf Behavior Change
in thread Printf/Sprintf Behavior Change

However if you understand the rounding rules for Perl, you will be fine.

Handsom too? Whats that mean "fine"


Comment on Re^2: Printf/Sprintf Behavior Change
Re^3: Printf/Sprintf Behavior Change
by Marshall (Prior) on Sep 17, 2013 at 22:45 UTC
    "fine" means that you understand what is going to happen in whatever number base that you are calculating in. And that no matter what you do, there will most often be imperfect representations in either a decimal or binary format. For example: 1/3. If we aren't in base 3, there is going to be a precision problem.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054410]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2014-10-01 00:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (386 votes), past polls