Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Aligning text and then perfom calculations

by soonix (Curate)
on Dec 16, 2013 at 09:06 UTC ( #1067300=note: print w/ replies, xml ) Need Help??


in reply to Aligning text and then perfom calculations

Your OP probably is solved by now, but may I suggest some alterations?

a) If the "name" columns are to be equal, you would need only one of them,

b) if a word is present in one of the files, and missing in the other, you could assume this as a value of zero, resulting in

corrotto +0.00439 tradizioni -0.00234 ...
Update: c) and do the formatting/alignment of decimal points (and sorting, like Kenosis in Re: Aligning text and then perfom calculations) after doing the calculations


Comment on Re: Aligning text and then perfom calculations
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067300]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2014-12-28 02:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls