http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/expresa4.htm
On 7/5/06, Rick Faircloth <[EMAIL PROTECTED]> wrote: > Can anyone help write this in CF? > > It's a mortgage calculation formula and I want to build > a CF-based calculator. > > Here's the formula I found: > > M = P * ( J / (1 - (1 + J) ** -N)) > > M is Mortgage Payment > P is Principal > J is monthly interest in decimal form = I / (12 x 100) > N is the number of months of the loan > > I'm not sure how to handle the ** -N part.the exponent. > > How would this be written using CF? > > Thanks for anyone's help. > > Rick > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245422 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