ParseInt doesn't always work properly.  I tried that and parseFloat and it
kept erroring out.  The only solution we found was to multiply by 1 or
subtract 0 

-----Original Message-----
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: Friday, 17 February 2006 19:37
To: CF-Talk
Subject: RE: Javascript Calculation Problem

> From: Les Mizzell [mailto:[EMAIL PROTECTED] When I do this:
> var SUBTotal = (oc_hours * oc_amount) + (ic_hours *
> ic_amount) + ldcalls
> I get 1202 as the SUBTotal, not 122.

parseInt(idcalls)






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232767
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to