ANJAN PURKAYASTHA wrote: > > i have file of numbers in the format x.xxxxe+003, eg 2.133793e+001. > these numbers are not recognized by the perl multiplication operator "*". > any idea of how i may convert these numbers to a format the operator DOES > recognize? > thanks,
Perl is fine with values like that. use strict; use warnings; my $x = '2.133793e+001'; my $product = $x * $x; print $product; **OUTPUT** 455.3072566849 Please show the code you have written so that we can help solve your problem. Rob -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/