@flycoders_sourav wrote:
there is my code.
onChangehomeloaninterest(ev: any) { // alert(this.homeloaninterest); this.monthlyinstrest=12/this.homeloaninterest/100;// calculate the monthly instrest 0.012 //alert(this.monthlyinstrest); } onChangehomeloanloantenure(ev: any) { this.month= this.homeloanloantenure*12;// here convert year to month let payments=Math.pow(1+this.monthlyinstrest,this.month); this.finalammount=(this.homeloanamount*payments*this.monthlyinstrest)/(payments-1); alert(this.finalammount)
When i put the value
principal=100000
rateofinstrest=10%
time=1;showing this EMI amount=>8997.54332793509 but it is wrong.
its correct 8791.59
please help me anyone.
Posts: 1
Participants: 1