Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Math::round not rounding correctly (edit)

by tye (Sage)
on Dec 23, 2014 at 20:33 UTC ( [id://1111231]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Math::round not rounding correctly (simple)
in thread Math::round not rounding correctly

You got 3461.49999999999950000000? Because I didn't.

What's your OS name and version? What's your perl version? Perhaps we have a difference of some math library or something.

(Prior node quoted in entirety due to rash of prior "edit"s.)

So I edited my prior node to correct my mis-paste. Clearly "%.4f" would not yield that many trailing digits. To get 20 trailing digits, I clearly had used "%.20f" (which is what my node now shows). (I also replied as edits are not so easy to notice, naturally.)

Please try again.

- tye        

  • Comment on Re^3: Math::round not rounding correctly (edit)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-19 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found