Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Converting -4.84800000E+001 to -48.48 doesn't work... but 48.49 does

by LanX (Saint)
on Jan 06, 2017 at 00:03 UTC ( [id://1179045]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Converting -4.84800000E+001 to -48.48 doesn't work... but 48.49 does
in thread Converting -4.84800000E+001 to -48.48 doesn't work... but 48.49 does

Yeah just updated it before I saw your reply.

I think the way -48.48 is transformed into a float follows a different calculation path which rounds the last bit into another direction.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re^3: Converting -4.84800000E+001 to -48.48 doesn't work... but 48.49 does

Log In?
Username:
Password:

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

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

    No recent polls found