|
-
Oct 20th, 2002, 03:14 AM
#1
Thread Starter
Hyperactive Member
Currency Format?
Hello Everyone:
I am using the following code in a Frontpage Website running HTML.
<body>
<% = Format( curNew, "Currency" ) %><BR>
<p><select size="1" name="cboItem" onchange=lblCost.value=lblCost.value="$"+cboItem.value;curNew=lblQty.value*cboItem.value;lblLtotal.v alue=curNew; tabindex="1">
The first line is suppose to make curNew a Currency Format, But I keep getting weird numbers, I.E. 14.9999999999999 instead of $14.99!
Any Ideas?
Thanks
Art W.
-
Oct 21st, 2002, 09:57 AM
#2
Frenzied Member
Code:
<body>
<% = FormatCurrency(curNew) %><BR>
<p><select size="1" name="cboItem" onchange=lblCost.value=lblCost.value="$"+cboItem.value;curNew=lblQty.value*cboItem.value;lblLtotal.value=curNew; tabindex="1">
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Oct 23rd, 2002, 05:02 AM
#3
Thread Starter
Hyperactive Member
Doesn't Work?
Sounds good, But does not work.
Any other Ideas?
Thanks
Art W.
SLEEP: A Totally Inadequate Substation For Caffeine!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|