
April 28th, 1999, 11:39 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Since you've already converted your strings to numbers when you totaled them, you shouldn't need to do anything to the contents of your newtotal variable.
I'm not sure what you're using "decimal()" for, unless it's a custom function somewhere else in your code. (As far as I know, it's not a valid method in JavaScript.)
So, your next-to-the-last line of code should simply be:
document.input.f_stot.value = newtotal;
|