Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2017-12-15 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (423 votes). Check out past polls.

    Notices?