Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-12-06 17:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (112 votes). Check out past polls.