Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1427.Text data calculation -- How to multiply the fifth column by 10 in a text file?

User: kaili Tan -- 2018-11-09          << 1426  1428 >>
Hits: 2124
Type: Text data calculation   
Search all Text data calculation examples
Description:
there is a txt file,the fifth column multiply by 10
Input Sample:
a   2001   1   1   0.1 
b   2002   1   1   0.2 
c   2003   1   1   0.3 
d   2004   1   1   0.4
Output Sample:
a   2001   1   1   1 
b   2002   1   1   2 
c   2003   1   1   3 
d   2004   1   1   4
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open text file 
2. ctrl-h open replace window 
* set 'replace unit' to 'Word', set 'replace scope' to 'Line' 
* set 'unit number filter' to:  
* set 'replace with pattern' to: 
 
3. click 'replace', done.

Screenshot 1:  Replace_Window


Similar Examples:
How to multiply every number by 1000 in a text file? (75%)
How to multiply the first column with the rest of columns in one file? (74%)
How to delete the 4th column from text files with 8 columns? (64%)
How to calculate summary of every column in a text file? (64%)
How to reverse the order of the first column in text file? (62%)
How to multiply all money amount in a text file by 9? (62%)
How to extract all odd columns 1,3,5,... from a text file? (61%)
How to delete the first word in each line in a text file? (61%)

Check Demo of Text data calculation
Keywords:
multiply  calculation  calculat  calcu  unit number filter  number filter  replace scope  scope  filter  data  multiply column by 1  multiply column data  text file number multiply  multiply number in text file  multiply in text file  multiply number  multiply file  scope filter