Thanks!  It works now.

-----Original Message-----
From: Bob Showalter [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 2:57 PM
To: 'Hughes, Andrew'; '[EMAIL PROTECTED]'
Subject: RE: printf not printing correctly




> -----Original Message-----
> From: Hughes, Andrew [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 22, 2002 2:53 PM
> To: '[EMAIL PROTECTED]'
> Subject: printf not printing correctly
> 
> 
> I am having a problem making printf work correctly.  The 
> following line of
> code:
> 
> printf("\$%4.2\n", $subtotal);
                ^
                need an "f" here.

  printf("\$%4.2f\n", $subtotal);

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to