On Thursday 22 April 2004 01:47 pm, Paul D. Kraus wrote:
> I am running a simple script that is reading through a text file and adding
> up floating point numbers from each line.
> At the 2165 line the number goes wrong. All the numbers are money \d+.\d\d
> all numbers in the hundreds to thousands.
I fixed it by when the count got to 2164 i dumped the amount int a subtotal 
variable. then reset total to 0. Then at the end I add subtotal back to the 
new total.

Very odd...

Paul


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to