Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: All Calculations Done with One Variable Give Integer Answers

by BillKSmith (Priest)
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

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 imbibing at the Monastery: (15)
As of 2016-08-26 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (372 votes). Check out past polls.