John W. Krahn wrote:
> David wrote:
>>
>> brain dead approach:
>>
>> #!/usr/bin/perl -w
>> use strict;
>>
>> for(qw~ 0.203E-20.203E+9 0.203e-9
>> 0.20233E-12 0.123e+3 3435E+15 ~){
>>
>> /(\d+)E(.)(\d+)/i;
>> my $l = $2 eq '+' ? 0 : length($1) + $3;
>
> You shouldn't
Pedro Antonio Reche wrote:
> Dear all,
> I have a table that has exponential numbers of the type 0.203E-2 and I
> will like to reformat getting rid off the exponential so that the
> previous number would look when printed as 0.00203.
> Is there any easy way to do this?
> Any help welcome.
brain d
Pedro Antonio Reche wrote:
>
> I have a table that has exponential numbers of the type 0.203E-2 and I
> will like to reformat getting rid off the exponential so that the
> previous number would look when printed as 0.00203.
> Is there any easy way to do this?
> Any help welcome.
$ perl -le' $x =