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

Re: Comparing results of math operations

by Anonymous Monk
on Apr 17, 2014 at 07:59 UTC ( #1082606=note: print w/ replies, xml ) Need Help??


in reply to Comparing results of math operations

The 0.95 * 806, 1.3 * 589 example; gives me

765.699999999999932 765.700000000000045

when I use the 10-digit calculator trick of subtracting off the leading digits and multiplying by 10, to see the hidden digit off to the right.


Comment on Re: Comparing results of math operations
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2014-09-16 20:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (46 votes), past polls