-
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.:confused:
-
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
-
Doesn't Work?
Sounds good, But does not work.
Any other Ideas?
Thanks
Art W.:confused: