Right! It can be either, I missed that... Thanks Chas! jlc
-----Original Message----- From: Chas Owens [mailto:[EMAIL PROTECTED] Sent: Monday, July 23, 2007 2:18 PM To: Joseph L. Casale Cc: beginners@perl.org Subject: Re: Scientific Number problem again! On 7/23/07, Joseph L. Casale <[EMAIL PROTECTED]> wrote: > Sorry, > I am still getting the scientific notation in the output instead of standard > notation. > Thanks! > jlc does it look like 1E10 or 1e10. If it looks like the former then you need to change the regex to be return $n unless $n =~ /^(.*)[eE]([-+]?)(.*)$/; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/