@flycoders_sourav wrote:
Here is my code and error.
onChangehomeloanloantenure(ev: any) { //alert(this.homeloanloantenure); this.month= (this.homeloanloantenure*12);// here year convert to month 36 let payments=Math.pow(1+this.monthlyinstrest,this.month); this.emiammout=(this.homeloanamount*payments*this.monthlyinstrest)/(payments-1); this.calinstrest=this.emiammout*this.month;//here calculate the total instrest this.instrestamount = this.calinstrest-this.homeloanamount;//here calculatet the instrest ammout alert(this.emiammout)//EMI this.totalpay=parseInt(this.homeloanamount)+parseInt(this.instrestamount);// here showing the total pay }
Error:
please help me anyone.
Posts: 1
Participants: 1