Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 having an uproarious good time at the Monastery: (19)
As of 2015-07-31 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (281 votes), past polls