
mbrazil
Deleted
Feb 14, 2000, 9:21 AM
Post #1 of 2
(354 views)
|
|
convert variable to $00.00?
|
Can't Post
|
|
I'm using javascript to calculate totals for a bookstore. We want to submit Total to a credit card company but their program will not accept variable names, only 00.00 format. We use a .pl script to submit the data and generate response emails. How do you convert the variable "Total" into the actual value (eg. $100.00) so it can be submitted like this: <input type=hidden name="amt" value="100.00" > I've seen this done with .pl shopping cart programs but can't figure out how they're doing it. Marg
|