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 <[EM
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 =~ /^(.*)[
Sorry,
I am still getting the scientific notation in the output instead of standard
notation.
Thanks!
jlc
-Original Message-
From: Chas Owens [mailto:[EMAIL PROTECTED]
Sent: Monday, July 23, 2007 2:09 PM
To: Joseph L. Casale
Cc: beginners@perl.org
Subject: Re: Scientific Number problem
On 7/23/07, Joseph L. Casale <[EMAIL PROTECTED]> wrote:
Hi guys,
I must have been dreaming when I tested this and ran it the first
time as I thought it worked! Now it's not :P
snip
What is your definition of not working? It produces no errors and the
output looks right to me.
--
To unsubscrib