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. 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
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.
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
Pure javascript code to implement the calculator function (three methods), javascript Calculator
Today, I will share with you a calculator program written in pure javascript code, which can be used in many industries, such as reno
Simple calculator function based on javascript, javascript Calculator
This example introduces the code for implementing the simple calculator function in javascript and shares it with you for your reference. The specific content i
Simple javascript calculator and javascript Calculator
Preface
Hello, everyone. I have been studying the framework and background content for a while. To prevent front-end JavaScript and jq from being too skilled, I forgot many algorithms and basic usage, some small function
Javascript white concise calculator, javascript Calculator
The calculator code in this article is very simple. You can easily apply this webpage special effect to your project.
HTML
First, we place an input box and multiple calculator
Javascript: simple calculator effect [recommended], javascript Calculator
The final result is-2. There is a bug: The result is correct when you click "%" after the integer. If you click "%" after the decimal number, the result is incorrect! Everything else is normal. Please advise: the input value is of the string type
The pure javascript code implements the calculator function. Next, let's share with you the calculator program compiled with pure javascript code, if you need a calculator program, you can share it with me today. It can be used in many industries, such as renovation budget a
The pure javascript code implements the calculator function. Next, let's share with you the calculator program compiled with pure javascript code, if you need a calculator program, you can share it with me today. it can be used in many industries, such as renovation budget a
Recently I used javascript to write a simple calculator. It seems okay to test it myself. The Code has been commented out. It is very good. I suggest you learn it. Recently I wrote a simple calculator in javascript, and it feels okay to test it on my own. Let's take a look at the interface:
The interface is like this
Today to share a calculator program written in pure JavaScript code, many industries can use this program, such as the decoration budget, loan rates and so on.
First look at the effect after the completion:
Method One:
Write the code as follows:
code two:
method Three:
Above in three ways to achieve the pure
The javascript code of the white concise style calculator is a beautifully concise calculator JS Code plug-in Webpage special effect, software application, background application JS calculator plug-in code free download. The calculator code in this article is very simple. Yo
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.