Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
var _0x7ac7 = ["\x6B\x65\x79\x75\x70", "\x2E\x63\x61\x6C\x63\x75\x6C\x61\x74\x6F\x72\x20\x..
Decoded Output download
<? var _0x7ac7 = ["keyup", ".calculator input", "change", ".calculator select", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ".", "split", "", ",", "length", "slice", "join", "replace", "val", ".calculator .amount", ".calculator .length", ".calculator .rate", ".calculator .deposit", ".calculator .residual", ".calculator .freq", "pow", "0", "round", "html", ".calc_repayment span.dynamic", ".calc_totalrepaym span.dynamic", ".calc_interestpaid span.dynamic", ".calc_balanceremain span.dynamic", ".calculator .month", ".calculator .year", "<tr>
<th>Month</th>
<th>Balance</th>
<th>Payment</th>
<th>Principal</th>
<th>Interest</th>
</tr>", "toFixed", "<tr>
<td>", " ", "</td>
<td>$", "</td>
</tr>", "<tr>
<td>Balloon</td>
<td>$", "</td>
<td>$0</td>
</tr>", "<tr>
<td></td>
<td></td>
<td><strong>$", "</strong></td>
<td><strong>$", "</strong></td>
</tr>", "Amortization Schedule", "h3#amortization-header", "#total_interest", "table#amortization"];
DIGIT_PRECISION = 2;
jQuery(_0x7ac7[1])[_0x7ac7[0]](function() {
calc_run()
});
jQuery(_0x7ac7[3])[_0x7ac7[2]](function() {
calc_run()
});
function convert_month(_0x7166x2) {
if (_0x7166x2 == 1) {
_0x7166x2 = _0x7ac7[4]
} else {
if (_0x7166x2 == 2) {
_0x7166x2 = _0x7ac7[5]
} else {
if (_0x7166x2 == 3) {
_0x7166x2 = _0x7ac7[6]
} else {
if (_0x7166x2 == 4) {
_0x7166x2 = _0x7ac7[7]
} else {
if (_0x7166x2 == 5) {
_0x7166x2 = _0x7ac7[8]
} else {
if (_0x7166x2 == 6) {
_0x7166x2 = _0x7ac7[9]
} else {
if (_0x7166x2 == 7) {
_0x7166x2 = _0x7ac7[10]
} else {
if (_0x7166x2 == 8) {
_0x7166x2 = _0x7ac7[11]
} else {
if (_0x7166x2 == 9) {
_0x7166x2 = _0x7ac7[12]
} else {
if (_0x7166x2 == 10) {
_0x7166x2 = _0x7ac7[13]
} else {
if (_0x7166x2 == 11) {
_0x7166x2 = _0x7ac7[14]
} else {
if (_0x7166x2 == 12) {
_0x7166x2 = _0x7ac7[15]
}
}
}
}
}
}
}
}
}
}
}
}
;return _0x7166x2
}
function localeString(_0x7166x4, _0x7166x5, _0x7166x6) {
var _0x7166x7 = (_0x7ac7[18] + _0x7166x4)[_0x7ac7[17]](_0x7ac7[16]), _0x7166x8 = _0x7ac7[18], _0x7166x9, _0x7166xa;
_0x7166x5 || (_0x7166x5 = _0x7ac7[19]);
_0x7166x6 || _0x7166x6 === 0 || (_0x7166x6 = 3);
_0x7166x9 = _0x7166x7[0][_0x7ac7[20]];
while (_0x7166x9 > _0x7166x6) {
_0x7166xa = _0x7166x9 - _0x7166x6;
_0x7166x8 = _0x7166x5 + _0x7166x7[0][_0x7ac7[21]](_0x7166xa, _0x7166x9) + _0x7166x8;
_0x7166x9 = _0x7166xa
}
;_0x7166x8 = _0x7166x7[0][_0x7ac7[21]](0, _0x7166x9) + _0x7166x8;
_0x7166x7[0] = _0x7166x8;
return _0x7166x7[_0x7ac7[22]](_0x7ac7[16])
}
function calc_run() {
var _0x7166xc = jQuery(_0x7ac7[25])[_0x7ac7[24]]()[_0x7ac7[23]](/\$\,\%\-/g, _0x7ac7[18]);
_0x7166xc = Number(_0x7166xc[_0x7ac7[23]](/[^0-9\.]+/g, _0x7ac7[18]));
var _0x7166xd = jQuery(_0x7ac7[26])[_0x7ac7[24]]();
var _0x7166xe = jQuery(_0x7ac7[27])[_0x7ac7[24]]();
_0x7166xe = Number(_0x7166xe[_0x7ac7[23]](/[^0-9\.]+/g, _0x7ac7[18]));
var _0x7166xf = jQuery(_0x7ac7[28])[_0x7ac7[24]]();
_0x7166xf = Number(_0x7166xf[_0x7ac7[23]](/[^0-9\.]+/g, _0x7ac7[18]));
var _0x7166x10 = jQuery(_0x7ac7[29])[_0x7ac7[24]]();
_0x7166x10 = Number(_0x7166x10[_0x7ac7[23]](/[^0-9\.]+/g, _0x7ac7[18]));
var _0x7166x11 = jQuery(_0x7ac7[30])[_0x7ac7[24]]();
var _0x7166x12 = false;
if (_0x7166xc == false || _0x7166xd == false || _0x7166xe == false) {
_0x7166x12 = true
}
;if (_0x7166x12 == false) {
var _0x7166x13 = _0x7166xe / 1200;
var _0x7166x14 = _0x7166xe / 12;
var _0x7166x15 = _0x7166xd * 12;
var _0x7166x16 = Math[_0x7ac7[31]]((1 + _0x7166x13), _0x7166x15);
var _0x7166x17 = ((_0x7166xc - _0x7166xf) * _0x7166x13) * _0x7166x16;
_0x7166x17 = _0x7166x17 - (_0x7166x10 * _0x7166x13);
var _0x7166x18 = _0x7166x16 - 1;
var _0x7166x19 = _0x7166x17 / _0x7166x18;
if (_0x7166x10 == _0x7ac7[18]) {
_0x7166x10 = _0x7ac7[32]
}
;total_repayments = _0x7166xd * _0x7166x11;
interestpaid = ((_0x7166x19 * _0x7166x15) + _0x7166x10) - _0x7166xc;
interestpaid = Math[_0x7ac7[33]](interestpaid);
_0x7166x19 = Math[_0x7ac7[33]](_0x7166x19);
jQuery(_0x7ac7[35])[_0x7ac7[34]](_0x7166x19);
jQuery(_0x7ac7[36])[_0x7ac7[34]](total_repayments);
jQuery(_0x7ac7[37])[_0x7ac7[34]](interestpaid);
jQuery(_0x7ac7[38])[_0x7ac7[34]](_0x7166x10)
} else {
jQuery(_0x7ac7[35])[_0x7ac7[34]](_0x7ac7[18]);
jQuery(_0x7ac7[36])[_0x7ac7[34]](_0x7ac7[18]);
jQuery(_0x7ac7[37])[_0x7ac7[34]](_0x7ac7[18]);
jQuery(_0x7ac7[38])[_0x7ac7[34]](_0x7ac7[18])
}
;var _0x7166x1a = parseFloat(_0x7166xe) / 100;
var _0x7166x14 = _0x7166x1a / 12;
calc_amort(_0x7166xc, _0x7166x19, _0x7166x14, _0x7166x15, _0x7166x10)
}
function calc_amort(_0x7166x1c, _0x7166x1d, _0x7166x1e, _0x7166x1f, _0x7166x10) {
var _0x7166x2 = parseInt(jQuery(_0x7ac7[39])[_0x7ac7[24]]());
var _0x7166x20 = parseInt(jQuery(_0x7ac7[40])[_0x7ac7[24]]());
var _0x7166x21 = _0x7ac7[41];
var _0x7166x22 = parseFloat(0);
var _0x7166x23 = parseFloat(0);
var _0x7166x24 = parseFloat(0);
for (i = _0x7166x1f; i > 0; i--) {
var _0x7166x25 = parseFloat(_0x7166x1c * _0x7166x1e)[_0x7ac7[42]](DIGIT_PRECISION);
var _0x7166x26 = parseFloat(_0x7166x1d - _0x7166x25)[_0x7ac7[42]](DIGIT_PRECISION);
_0x7166x22 = parseFloat(_0x7166x22) + parseFloat(_0x7166x1d);
_0x7166x23 = parseFloat(_0x7166x23) + parseFloat(_0x7166x26);
_0x7166x24 = parseFloat(_0x7166x24) + parseFloat(_0x7166x25);
var _0x7166x27 = convert_month(_0x7166x2);
var _0x7166x28 = _0x7ac7[43] + _0x7166x27 + _0x7ac7[44] + _0x7166x20 + _0x7ac7[45] + localeString(parseFloat(_0x7166x1c)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[45] + localeString(_0x7166x1d) + _0x7ac7[45] + localeString(_0x7166x26) + _0x7ac7[45] + localeString(_0x7166x25) + _0x7ac7[46];
_0x7166x21 = _0x7166x21 + _0x7166x28;
if (_0x7166x2 == 12) {
_0x7166x2 = 1;
_0x7166x20++
} else {
_0x7166x2++
}
;_0x7166x1c = parseFloat(_0x7166x1c - _0x7166x26)[_0x7ac7[42]](DIGIT_PRECISION)
}
;if (_0x7166x10 > 0) {
var _0x7166x26 = parseFloat(_0x7166x1d - _0x7166x25)[_0x7ac7[42]](DIGIT_PRECISION);
var _0x7166x28 = _0x7ac7[47] + localeString(parseFloat(_0x7166x1c)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[45] + localeString(parseFloat(_0x7166x1c)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[45] + localeString(parseFloat(_0x7166x1c)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[48];
_0x7166x21 = _0x7166x21 + _0x7166x28
}
;_0x7166x28 = _0x7ac7[49] + localeString(parseFloat(_0x7166x22)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[50] + localeString(parseFloat(_0x7166x23)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[50] + localeString(parseFloat(_0x7166x24)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[51];
_0x7166x21 = _0x7166x21 + _0x7166x28;
jQuery(_0x7ac7[53])[_0x7ac7[34]](_0x7ac7[52]);
jQuery(_0x7ac7[54])[_0x7ac7[24]](localeString(parseFloat(_0x7166x24)[_0x7ac7[42]](DIGIT_PRECISION)));
jQuery(_0x7ac7[55])[_0x7ac7[34]](_0x7166x21)
}
calc_run()
?>
Did this file decode correctly?
Original Code
var _0x7ac7 = ["\x6B\x65\x79\x75\x70", "\x2E\x63\x61\x6C\x63\x75\x6C\x61\x74\x6F\x72\x20\x69\x6E\x70\x75\x74", "\x63\x68\x61\x6E\x67\x65", "\x2E\x63\x61\x6C\x63\x75\x6C\x61\x74\x6F\x72\x20\x73\x65\x6C\x65\x63\x74", "\x4A\x61\x6E\x75\x61\x72\x79", "\x46\x65\x62\x72\x75\x61\x72\x79", "\x4D\x61\x72\x63\x68", "\x41\x70\x72\x69\x6C", "\x4D\x61\x79", "\x4A\x75\x6E\x65", "\x4A\x75\x6C\x79", "\x41\x75\x67\x75\x73\x74", "\x53\x65\x70\x74\x65\x6D\x62\x65\x72", "\x4F\x63\x74\x6F\x62\x65\x72", "\x4E\x6F\x76\x65\x6D\x62\x65\x72", "\x44\x65\x63\x65\x6D\x62\x65\x72", "\x2E", "\x73\x70\x6C\x69\x74", "", "\x2C", "\x6C\x65\x6E\x67\x74\x68", "\x73\x6C\x69\x63\x65", "\x6A\x6F\x69\x6E", "\x72\x65\x70\x6C\x61\x63\x65", "\x76\x61\x6C", "\x2E\x63\x61\x6C\x63\x75\x6C\x61\x74\x6F\x72\x20\x2E\x61\x6D\x6F\x75\x6E\x74", "\x2E\x63\x61\x6C\x63\x75\x6C\x61\x74\x6F\x72\x20\x2E\x6C\x65\x6E\x67\x74\x68", "\x2E\x63\x61\x6C\x63\x75\x6C\x61\x74\x6F\x72\x20\x2E\x72\x61\x74\x65", "\x2E\x63\x61\x6C\x63\x75\x6C\x61\x74\x6F\x72\x20\x2E\x64\x65\x70\x6F\x73\x69\x74", "\x2E\x63\x61\x6C\x63\x75\x6C\x61\x74\x6F\x72\x20\x2E\x72\x65\x73\x69\x64\x75\x61\x6C", "\x2E\x63\x61\x6C\x63\x75\x6C\x61\x74\x6F\x72\x20\x2E\x66\x72\x65\x71", "\x70\x6F\x77", "\x30", "\x72\x6F\x75\x6E\x64", "\x68\x74\x6D\x6C", "\x2E\x63\x61\x6C\x63\x5F\x72\x65\x70\x61\x79\x6D\x65\x6E\x74\x20\x73\x70\x61\x6E\x2E\x64\x79\x6E\x61\x6D\x69\x63", "\x2E\x63\x61\x6C\x63\x5F\x74\x6F\x74\x61\x6C\x72\x65\x70\x61\x79\x6D\x20\x73\x70\x61\x6E\x2E\x64\x79\x6E\x61\x6D\x69\x63", "\x2E\x63\x61\x6C\x63\x5F\x69\x6E\x74\x65\x72\x65\x73\x74\x70\x61\x69\x64\x20\x73\x70\x61\x6E\x2E\x64\x79\x6E\x61\x6D\x69\x63", "\x2E\x63\x61\x6C\x63\x5F\x62\x61\x6C\x61\x6E\x63\x65\x72\x65\x6D\x61\x69\x6E\x20\x73\x70\x61\x6E\x2E\x64\x79\x6E\x61\x6D\x69\x63", "\x2E\x63\x61\x6C\x63\x75\x6C\x61\x74\x6F\x72\x20\x2E\x6D\x6F\x6E\x74\x68", "\x2E\x63\x61\x6C\x63\x75\x6C\x61\x74\x6F\x72\x20\x2E\x79\x65\x61\x72", "\x3C\x74\x72\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x68\x3E\x4D\x6F\x6E\x74\x68\x3C\x2F\x74\x68\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x68\x3E\x42\x61\x6C\x61\x6E\x63\x65\x3C\x2F\x74\x68\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x68\x3E\x50\x61\x79\x6D\x65\x6E\x74\x3C\x2F\x74\x68\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x68\x3E\x50\x72\x69\x6E\x63\x69\x70\x61\x6C\x3C\x2F\x74\x68\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x68\x3E\x49\x6E\x74\x65\x72\x65\x73\x74\x3C\x2F\x74\x68\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2F\x74\x72\x3E", "\x74\x6F\x46\x69\x78\x65\x64", "\x3C\x74\x72\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x64\x3E", "\x20", "\x3C\x2F\x74\x64\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x64\x3E\x24", "\x3C\x2F\x74\x64\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2F\x74\x72\x3E", "\x3C\x74\x72\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x64\x3E\x42\x61\x6C\x6C\x6F\x6F\x6E\x3C\x2F\x74\x64\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x64\x3E\x24", "\x3C\x2F\x74\x64\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x64\x3E\x24\x30\x3C\x2F\x74\x64\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2F\x74\x72\x3E", "\x3C\x74\x72\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x64\x3E\x3C\x2F\x74\x64\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x64\x3E\x3C\x2F\x74\x64\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x64\x3E\x3C\x73\x74\x72\x6F\x6E\x67\x3E\x24", "\x3C\x2F\x73\x74\x72\x6F\x6E\x67\x3E\x3C\x2F\x74\x64\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x74\x64\x3E\x3C\x73\x74\x72\x6F\x6E\x67\x3E\x24", "\x3C\x2F\x73\x74\x72\x6F\x6E\x67\x3E\x3C\x2F\x74\x64\x3E\x20\x0D\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2F\x74\x72\x3E", "\x41\x6D\x6F\x72\x74\x69\x7A\x61\x74\x69\x6F\x6E\x20\x53\x63\x68\x65\x64\x75\x6C\x65", "\x68\x33\x23\x61\x6D\x6F\x72\x74\x69\x7A\x61\x74\x69\x6F\x6E\x2D\x68\x65\x61\x64\x65\x72", "\x23\x74\x6F\x74\x61\x6C\x5F\x69\x6E\x74\x65\x72\x65\x73\x74", "\x74\x61\x62\x6C\x65\x23\x61\x6D\x6F\x72\x74\x69\x7A\x61\x74\x69\x6F\x6E"];
DIGIT_PRECISION = 2;
jQuery(_0x7ac7[1])[_0x7ac7[0]](function() {
calc_run()
});
jQuery(_0x7ac7[3])[_0x7ac7[2]](function() {
calc_run()
});
function convert_month(_0x7166x2) {
if (_0x7166x2 == 1) {
_0x7166x2 = _0x7ac7[4]
} else {
if (_0x7166x2 == 2) {
_0x7166x2 = _0x7ac7[5]
} else {
if (_0x7166x2 == 3) {
_0x7166x2 = _0x7ac7[6]
} else {
if (_0x7166x2 == 4) {
_0x7166x2 = _0x7ac7[7]
} else {
if (_0x7166x2 == 5) {
_0x7166x2 = _0x7ac7[8]
} else {
if (_0x7166x2 == 6) {
_0x7166x2 = _0x7ac7[9]
} else {
if (_0x7166x2 == 7) {
_0x7166x2 = _0x7ac7[10]
} else {
if (_0x7166x2 == 8) {
_0x7166x2 = _0x7ac7[11]
} else {
if (_0x7166x2 == 9) {
_0x7166x2 = _0x7ac7[12]
} else {
if (_0x7166x2 == 10) {
_0x7166x2 = _0x7ac7[13]
} else {
if (_0x7166x2 == 11) {
_0x7166x2 = _0x7ac7[14]
} else {
if (_0x7166x2 == 12) {
_0x7166x2 = _0x7ac7[15]
}
}
}
}
}
}
}
}
}
}
}
}
;return _0x7166x2
}
function localeString(_0x7166x4, _0x7166x5, _0x7166x6) {
var _0x7166x7 = (_0x7ac7[18] + _0x7166x4)[_0x7ac7[17]](_0x7ac7[16]), _0x7166x8 = _0x7ac7[18], _0x7166x9, _0x7166xa;
_0x7166x5 || (_0x7166x5 = _0x7ac7[19]);
_0x7166x6 || _0x7166x6 === 0 || (_0x7166x6 = 3);
_0x7166x9 = _0x7166x7[0][_0x7ac7[20]];
while (_0x7166x9 > _0x7166x6) {
_0x7166xa = _0x7166x9 - _0x7166x6;
_0x7166x8 = _0x7166x5 + _0x7166x7[0][_0x7ac7[21]](_0x7166xa, _0x7166x9) + _0x7166x8;
_0x7166x9 = _0x7166xa
}
;_0x7166x8 = _0x7166x7[0][_0x7ac7[21]](0, _0x7166x9) + _0x7166x8;
_0x7166x7[0] = _0x7166x8;
return _0x7166x7[_0x7ac7[22]](_0x7ac7[16])
}
function calc_run() {
var _0x7166xc = jQuery(_0x7ac7[25])[_0x7ac7[24]]()[_0x7ac7[23]](/\$\,\%\-/g, _0x7ac7[18]);
_0x7166xc = Number(_0x7166xc[_0x7ac7[23]](/[^0-9\.]+/g, _0x7ac7[18]));
var _0x7166xd = jQuery(_0x7ac7[26])[_0x7ac7[24]]();
var _0x7166xe = jQuery(_0x7ac7[27])[_0x7ac7[24]]();
_0x7166xe = Number(_0x7166xe[_0x7ac7[23]](/[^0-9\.]+/g, _0x7ac7[18]));
var _0x7166xf = jQuery(_0x7ac7[28])[_0x7ac7[24]]();
_0x7166xf = Number(_0x7166xf[_0x7ac7[23]](/[^0-9\.]+/g, _0x7ac7[18]));
var _0x7166x10 = jQuery(_0x7ac7[29])[_0x7ac7[24]]();
_0x7166x10 = Number(_0x7166x10[_0x7ac7[23]](/[^0-9\.]+/g, _0x7ac7[18]));
var _0x7166x11 = jQuery(_0x7ac7[30])[_0x7ac7[24]]();
var _0x7166x12 = false;
if (_0x7166xc == false || _0x7166xd == false || _0x7166xe == false) {
_0x7166x12 = true
}
;if (_0x7166x12 == false) {
var _0x7166x13 = _0x7166xe / 1200;
var _0x7166x14 = _0x7166xe / 12;
var _0x7166x15 = _0x7166xd * 12;
var _0x7166x16 = Math[_0x7ac7[31]]((1 + _0x7166x13), _0x7166x15);
var _0x7166x17 = ((_0x7166xc - _0x7166xf) * _0x7166x13) * _0x7166x16;
_0x7166x17 = _0x7166x17 - (_0x7166x10 * _0x7166x13);
var _0x7166x18 = _0x7166x16 - 1;
var _0x7166x19 = _0x7166x17 / _0x7166x18;
if (_0x7166x10 == _0x7ac7[18]) {
_0x7166x10 = _0x7ac7[32]
}
;total_repayments = _0x7166xd * _0x7166x11;
interestpaid = ((_0x7166x19 * _0x7166x15) + _0x7166x10) - _0x7166xc;
interestpaid = Math[_0x7ac7[33]](interestpaid);
_0x7166x19 = Math[_0x7ac7[33]](_0x7166x19);
jQuery(_0x7ac7[35])[_0x7ac7[34]](_0x7166x19);
jQuery(_0x7ac7[36])[_0x7ac7[34]](total_repayments);
jQuery(_0x7ac7[37])[_0x7ac7[34]](interestpaid);
jQuery(_0x7ac7[38])[_0x7ac7[34]](_0x7166x10)
} else {
jQuery(_0x7ac7[35])[_0x7ac7[34]](_0x7ac7[18]);
jQuery(_0x7ac7[36])[_0x7ac7[34]](_0x7ac7[18]);
jQuery(_0x7ac7[37])[_0x7ac7[34]](_0x7ac7[18]);
jQuery(_0x7ac7[38])[_0x7ac7[34]](_0x7ac7[18])
}
;var _0x7166x1a = parseFloat(_0x7166xe) / 100;
var _0x7166x14 = _0x7166x1a / 12;
calc_amort(_0x7166xc, _0x7166x19, _0x7166x14, _0x7166x15, _0x7166x10)
}
function calc_amort(_0x7166x1c, _0x7166x1d, _0x7166x1e, _0x7166x1f, _0x7166x10) {
var _0x7166x2 = parseInt(jQuery(_0x7ac7[39])[_0x7ac7[24]]());
var _0x7166x20 = parseInt(jQuery(_0x7ac7[40])[_0x7ac7[24]]());
var _0x7166x21 = _0x7ac7[41];
var _0x7166x22 = parseFloat(0);
var _0x7166x23 = parseFloat(0);
var _0x7166x24 = parseFloat(0);
for (i = _0x7166x1f; i > 0; i--) {
var _0x7166x25 = parseFloat(_0x7166x1c * _0x7166x1e)[_0x7ac7[42]](DIGIT_PRECISION);
var _0x7166x26 = parseFloat(_0x7166x1d - _0x7166x25)[_0x7ac7[42]](DIGIT_PRECISION);
_0x7166x22 = parseFloat(_0x7166x22) + parseFloat(_0x7166x1d);
_0x7166x23 = parseFloat(_0x7166x23) + parseFloat(_0x7166x26);
_0x7166x24 = parseFloat(_0x7166x24) + parseFloat(_0x7166x25);
var _0x7166x27 = convert_month(_0x7166x2);
var _0x7166x28 = _0x7ac7[43] + _0x7166x27 + _0x7ac7[44] + _0x7166x20 + _0x7ac7[45] + localeString(parseFloat(_0x7166x1c)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[45] + localeString(_0x7166x1d) + _0x7ac7[45] + localeString(_0x7166x26) + _0x7ac7[45] + localeString(_0x7166x25) + _0x7ac7[46];
_0x7166x21 = _0x7166x21 + _0x7166x28;
if (_0x7166x2 == 12) {
_0x7166x2 = 1;
_0x7166x20++
} else {
_0x7166x2++
}
;_0x7166x1c = parseFloat(_0x7166x1c - _0x7166x26)[_0x7ac7[42]](DIGIT_PRECISION)
}
;if (_0x7166x10 > 0) {
var _0x7166x26 = parseFloat(_0x7166x1d - _0x7166x25)[_0x7ac7[42]](DIGIT_PRECISION);
var _0x7166x28 = _0x7ac7[47] + localeString(parseFloat(_0x7166x1c)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[45] + localeString(parseFloat(_0x7166x1c)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[45] + localeString(parseFloat(_0x7166x1c)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[48];
_0x7166x21 = _0x7166x21 + _0x7166x28
}
;_0x7166x28 = _0x7ac7[49] + localeString(parseFloat(_0x7166x22)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[50] + localeString(parseFloat(_0x7166x23)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[50] + localeString(parseFloat(_0x7166x24)[_0x7ac7[42]](DIGIT_PRECISION)) + _0x7ac7[51];
_0x7166x21 = _0x7166x21 + _0x7166x28;
jQuery(_0x7ac7[53])[_0x7ac7[34]](_0x7ac7[52]);
jQuery(_0x7ac7[54])[_0x7ac7[24]](localeString(parseFloat(_0x7166x24)[_0x7ac7[42]](DIGIT_PRECISION)));
jQuery(_0x7ac7[55])[_0x7ac7[34]](_0x7166x21)
}
calc_run()
Function Calls
None |
Stats
MD5 | c17400065015e9cfcc2a9fb5fa83a81f |
Eval Count | 0 |
Decode Time | 59 ms |