Post Office Fd Calculator

Post Office FD Calculator

Calculate your fixed deposit returns based on the investment amount, tenure, and interest rate.

function calculateFD() { const investment = parseFloat(document.getElementById(“investmentAmount”).value); const rate = parseFloat(document.getElementById(“interestRate”).value) / 100; const years = parseInt(document.getElementById(“tenure”).value); if (isNaN(investment) || isNaN(rate) || isNaN(years) || investment <= 0 || rate <= 0 || years el.value = “”); } function formatCurrency(n) { return “₹” + n.toFixed(2); }

Leave a Reply

Your email address will not be published. Required fields are marked *