[thelist] JavaScript Question: Oops

Jay Blanchard jblanchard at pocket.com
Tue May 2 16:14:07 CDT 2006


[snip]
Oops, I dropped a factor of 100!
So make that:

(Math.round(document.dealerOrder.phoneQuant$phoneLine.value *
document.dealerOrder.dealerCost$phoneLine.value * 100) / 100
).toFixed(2);
[/snip]

I caught it...thanks for your help!



More information about the thelist mailing list