Hi
Can some one please help me with the formula to find the EMI from the textbox values
to display the EMI amount in the textbox
txtemiamount
The HTML code is
I know the formula
EMI = [(p*r) (1+r)^n]/[(1+r)^n - 1 ]
where p = principal amount to be converted
r = rate of interest per month
n = number of tenure periods
but I found it difficult to implement in my code behind page,
please help me if anyone has a better formula or if you can write the code for this formula so that it will calculate the EMI on a button click or text change of the textbox 'txtemicalcroi' .........& display it in th read only text box
Regards
Anni
Can some one please help me with the formula to find the EMI from the textbox values
- txtemiconvamoun t
- ddltenure
- txtemicalcroi
to display the EMI amount in the textbox
txtemiamount
The HTML code is
Code:
<asp:TextBox ID="txtemiconvamount" runat="server" Width="97px" TabIndex="1" MaxLength="9" ></asp:TextBox>
<asp:DropDownList ID="ddltenure" runat="server" AutoPostBack="True" Width="71px">
<asp:ListItem Value="Select">Select</asp:ListItem>
<asp:ListItem Value="12">12</asp:ListItem>
<asp:ListItem Value="18">18</asp:ListItem>
<asp:ListItem Value="24">24</asp:ListItem>
<asp:ListItem Value="36">36</asp:ListItem>
</asp:DropDownList>
<strong>months</strong></span></td>
<asp:Textbox ID="txtemicalcroi" runat="server" Font-Bold="True" Width="88px"></asp:Textbox>
<asp:TextBox ID="txtemiamount" runat="server" Width="96px" ReadOnly="True"></asp:TextBox>
EMI = [(p*r) (1+r)^n]/[(1+r)^n - 1 ]
where p = principal amount to be converted
r = rate of interest per month
n = number of tenure periods
but I found it difficult to implement in my code behind page,
please help me if anyone has a better formula or if you can write the code for this formula so that it will calculate the EMI on a button click or text change of the textbox 'txtemicalcroi' .........& display it in th read only text box
Regards
Anni
Comment