Question
Calculation is different CF vs JS
I have the following standard calcualation that is used to figure out a monthly payment with interest.
rate = 11;
term = 48;
price = 129747;
dpayment = 0;
crate = rate/1200;
monthly_payment = (crate+(crate/(((1+crate)^term)-1)))*(price-dpayment);
Despite seeding with the same variables, I am getting the correct value in Cold Fusion, but the wrong answer if I use this calculation in JS.
Any help?
