in reply to Re^2: combining two csv files by using math operations
in thread combining two csv files by using math operations
Hi again,
Forgive me but I don't know what "scientific format" is. Please show the expected output from the sample data.
?$ perl -Mstrict -wE 'my $avg = (1.10000E0 + 3.10000E0) / 2.; say sprin +tf("%E", $avg)' 2.100000E+00
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom