Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: shocking imprecision

by davido (Archbishop)
on Oct 17, 2011 at 22:23 UTC ( #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
Node Status?
node history
Node Type: note [id://932033]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2016-12-11 07:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (168 votes). Check out past polls.