Taliv
03-28-2003, 12:42 AM
When cnt = 3, the following code returns
US$ 2.8499999999999996 instead of 2.85!!!!
Any suggestions how to solve this or round it up to 2.85????
amount = (cnt*0.95)
document.Listing.total.value = "US$ "+ amount
Thank You
US$ 2.8499999999999996 instead of 2.85!!!!
Any suggestions how to solve this or round it up to 2.85????
amount = (cnt*0.95)
document.Listing.total.value = "US$ "+ amount
Thank You