Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: dividing numbers

by derby (Abbot)
on Sep 20, 2011 at 16:35 UTC ( #926980=note: print w/replies, xml ) Need Help??


in reply to dividing numbers

Well ... other issues aside ... you need to pull the arithmetic out of the string:

print RESULT "$id ", $count_of_A/$tt, " ", $count_of_C/$tt, " ", ....
-derby

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://926980]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2017-11-18 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?