Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Car Dealer
Author: Ash Sammy
| Website: www.signalstrong.com |
Here's a calculator designed especially for summing out the price of a car. It adds the bank interest rate and the insurance fees to the total price, and devides it by the number of years required for monthly installments, then gives you the total price you'll be paying, and how much you'll be paying each month.
Code for Calculate Button: (only code used)
on (press, keyPress "") {
Insurance = Number(Price)/100*Ins*1;
Total = Number(Insurance)+Number(Price);
Finance = Number(Total)/100*Number(Int)*4;
TotalPrice = Number(Finance)+Number(Total);
Monthly = Number(TotalPrice)/Number(Years);
TotalPriceDevide = Number(TotalPrice)/Number(Devide);
MonthlyDevide = Number(TotalPriceDevide)/Number(Years);
TotalPriceMulti = Number(TotalPrice)*Number(Multi);
MonthlyMulti = Number(TotalPriceMulti)/Number(Years);
}
If you're creating a new one, remember to give the text boxes variable names.
Note: ¤ = Currancy Sign (ALT+0164).
There's no currancy calculations involved in summing.
_
Enjoy.
Ash Sammy
_SignalStrong™
_signal@signalstrong.com
_http://www.signalstrong.com
| » Level Basic |
|
|
Added: : 2004-03-17
Rating: 6.43 Votes: 7
Hits: 937
|
| » Author |
|
Founder of design studio SignalStrong™.
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (7 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|