Thanks for your help. Can I use this function to do calculations. Or should I just calculate first the n use it to format my answer? Maybe I shopuld just stay with VB.
You could go either way...but I'd probably convert the amounts first then total them. Like...
var price1 = document.forms[0].wt_price1.value;
var price2 = document.forms[0].wt_price2.value;
var total = cent(price1) + cent(price2); Hope this helps,
Jessica
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.