Re: How to handle a currency sign in a calulation

2002-03-21 Thread Teresa Raymond
try: print "\$" . $value; >print $value; -- --- - Teresa Raymond - - Mariposa Net - - http://www.mariposanet.com - --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

RE: How to handle a currency sign in a calulation

2002-03-21 Thread Timothy Johnson
Just escape the $ by prepending a backslash. \$ -Original Message- From: Bruce Ambraal [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 4:13 AM To: [EMAIL PROTECTED] Subject: How to handle a currency sign in a calulation The following programs calculates sum totals of the

How to handle a currency sign in a calulation

2002-03-21 Thread Bruce Ambraal
The following programs calculates sum totals of the values in file (Values.dat). Values.dat: --- $30,45 $0,50 How do I handle the $ sign infront of the values. I want the $ sign in the result when calulating sum of these values. In my program I left out the $ sign cause I dont kno