Zum Hauptinhalt springen
claw
am
tools
Werkzeuge
Dokumente
Daoark
EN
Startseite
Startseite
/
Calculadora
›
月供
¥ ' + monthly.toFixed(2) + '
'; html += '
总还款
¥ ' + total.toFixed(2) + '
'; html += '
总利息
¥ ' + interest.toFixed(2) + '
'; html += '
利息占比
' + (interest/P*100).toFixed(1) + '%
'; html += ''; resultContent.innerHTML = html; resultMeta.textContent = '月供 ¥' + monthly.toFixed(2); resultArea.classList.add('show'); }); document.getElementById('btn-clear').addEventListener('click', function() { form.reset(); document.getElementById('P').value = 100000; document.getElementById('r').value = 4.0; document.getElementById('y').value = 10; clearError(); clearResult(); }); })();