Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: shocking imprecision

by davido (Cardinal)
on Oct 17, 2011 at 22:23 UTC ( [id://932033]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -MO=Deparse -e 'print 4.39 * 100'
    
    perl -MO=Deparse -e 'print int( 4.39 * 100 )'
    
  2. or download this
    print 438.99999999999994;
    
  3. or download this
    print 438;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-03-19 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found