This calculator can calculate housing loans in detail, including mortgage loans, Provident Fund loans, portfolio loans, and consumer loans, and can be calculated based on the same amount of interest or the same amount of principal. It can calculate the total loan amount, total repayment amount, interest payment, repayment time, loan balance, Monthly Return of the
1. Verify that the car loan calculator on the page matches the result of the formula given in the requirement.Page Image:The code is as follows (simple implementation, need to be optimized): Packagecom.test;ImportJava.math.BigDecimal;ImportOrg.junit.Assert;Importorg.openqa.selenium.By;ImportOrg.testng.Reporter;ImportOrg.testng.annotations.AfterClass;ImportOrg.testng.annotations.BeforeClass;Importorg.testng.
1. The deduction of the formula for calculating the monthly amount of equal principal and interest law
In the previous essay "Use C # write personal housing Loan calculator" mentioned that, such as interest rate unchanged in the case of the monthly repayment amount is fixed, so also known as the "matching method", the calculation formula is as follows:
Monthly Return amount =
Now, many people have personal housing loans, or will have personal housing loans. So let's use C # to write a calculator that calculates the repayment schedule for personal housing loans.
The calculator can calculate the repayment schedule according to the loan amount, the loan period, the
Provident Fund Loan Calculator
Class=font> Price:Name=dj2> Yuan/
Name=mj2>
Size=1 name=chsh2>Value=7>7
Value=5>5
Value=3>3 into
Name=nsh2>Value=3>3 year (36)
Period) Value=6>6 Year (72)
Period) Value=9>9 year (phase 108) VALUE=10GT;10 year (phase 120) SELECTEDGT;15 year (phase 180) VALUE=20GT;20 year (phase 240) VALUE=25GT;25 year (phase 300) Value=30>30 year (360)
size=10Name=fkz2>
RMB
Mortgage Loan Calculator
Border=0>
Bgcolor= "#ffffff" class=font> Unit Price:size=10 name=dj1>/
size=10Name=mj1>
12px "size=1name=chsh1>
Value=7>7
Value=5>5
Value=3>3 into
Year of Mortgage:
Name=nsh1>Value=3>3 year (36)
Period) Value=6>6 Year (72)
Period) Value=9>9 year (phase 108) VALUE=10GT;10 year (phase 120) SELECTEDGT;15 year (phase 180) VALUE=20GT;20 year (phase 240) VALUE=25G
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.