[thelist] JScript v VBScript

Scott Dexter sgd at ti3.com
Tue Jan 29 15:50:00 CST 2002


I'd throw the radix in on the parseInt function, just to be safe:

MthFullCredit=parseInt((Prin*MonthRate)/(1-Math.pow((1+MonthRate),(-1*Nu
mPayments)))*100, 10)/100;

(I've had parseInt throw strange results when it assumes a different
radix)

sgd
--
work: http://ti3.com/
non: http://thinksafely.org/




More information about the thelist mailing list