Text Data Calculation

Text_merge  report_generator 

Text Data Calculation

Example:

Calculate area of triangle

Text data calculation

Replace Procedures:

1. ctrl-o open source text file

2. ctrl-h open replace window

* set 'replace unit' to 'Line'

* set 'replace with pattern' to:

Area of triangle \($A,$B,$C\) is calc(sqrt($P*($P-$A)*($P-$B)*($P-$C)),'.2f')\n

* click 'Advanced' page, set 'Run following for each matched unit' to:

($A,$B,$C)=($match[1],$match[2],$match[3]);

$P=($A+$B+$C)/2;

3. click 'replace', done.

4. ctrl-s save to file.

Notes:

For batch replace files, please refer to Replace Pioneer help manual.


Other Examples of "Text data calculation"
How to batch change decimal numbers by rounding to 3 decimal places?
How to multiply every number by 1000 in a text file?
How to calculate the average of all numbers that preceded by dollar sign?
How to search and sum the numbers at specified position in a text file?
How to convert all numbers from decimal to percentage?
How to calculate sum value of every column?
How to calculate the percentage of the number in the column1?
How to calculate the area of triangles base on 3 sides automatically?

Search all "Text data calculation" examples