Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Floating point problems

by bluescreen (Friar)
on Oct 24, 2010 at 15:54 UTC ( [id://867051]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (0.6 / 0.2) asInteger
    2
    
  2. or download this
    python -c 'print int(0.6/0.2)'
    2
    
  3. or download this
    ruby -e 'print (0.6/0.2).to_i'
    2
    

Log In?
Username:
Password:

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

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

    No recent polls found