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
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
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