Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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"

Replies are listed 'Best First'.
Re^3: Printf/Sprintf Behavior Change
by Marshall (Abbot) 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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2018-04-26 14:17 GMT
Find Nodes?
    Voting Booth?