RE: Scientific Number problem again!

2007-07-23 Thread Joseph L. Casale
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

Re: Scientific Number problem again!

2007-07-23 Thread Chas Owens
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 =~ /^(.*)[

RE: Scientific Number problem again!

2007-07-23 Thread Joseph L. Casale
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

Re: Scientific Number problem again!

2007-07-23 Thread Chas Owens
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

Scientific Number problem again!

2007-07-23 Thread Joseph L. Casale
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 Anyone know what's wrong here, can I not leverage the expand sub to convert the scientific notation in the printf statement like I am? sub expand { my $n = shift;