function num(event) { var a = event.which; if (a >= 47 & a <= 57 || a == 8) { return true; } else { return false; } } function func(event) { event.preventDefault() } Enter Principle: Minimum Value Is Rs.1000 Enter Rate: Enter Months Months6121824303642485460 Calculate Months Opening Balance Loan Repaid CD Interest Charged Amaount Payable Loan Balance