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 (Vicar)
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 chanting in the Monastery: (4)
As of 2017-11-19 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (278 votes). Check out past polls.

    Notices?