Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: All Calculations Done with One Variable Give Integer Answers

by BillKSmith (Deacon)
on Sep 24, 2013 at 03:59 UTC ( #1055430=note: print w/ replies, xml ) Need Help??


in reply to All Calculations Done with One Variable Give Integer Answers

There probably is no 'easy' solution. The problem is explained in perlfaq4. Read

perldoc -q "Why am I getting long decimals" perldoc -q "Does perl have a round"
Bill


Comment on Re: All Calculations Done with One Variable Give Integer Answers
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2015-03-28 19:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (625 votes), past polls