RE: Padding a record with zero's in a file

2003-07-17 Thread Charles K. Clarkson
James Parsons <[EMAIL PROTECTED]> wrote: : I have a following in a file : : Raw data = : 18822 188.22 : 133 1.33 : 230023.00 : 222003 `2220.03 : : : And when I run the following perl script the : total is extremely out of wacky, total should : be

RE: Padding a record with zero's in a file

2003-07-17 Thread Wagner, David --- Senior Programmer Analyst --- WGO
James Parsons wrote: > Hi everyone.. > > I'm still a Newbie so be gently > > > I have a following in a file > > Raw data = > 18822 188.22 > 133 1.33 > 230023.00 > 222003 `2220.03 > > > And when I run the following perl script the total is extremely

Padding a record with zero's in a file

2003-07-17 Thread James Parsons
Hi everyone.. I'm still a Newbie so be gently I have a following in a file Raw data = 18822 188.22 1331.33 2300 23.00 222003 `2220.03 And when I run the following perl script the total is extremely out of wacky, total should be 2432.58