Search tutorials
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 Votes: 7 |
| » Author |
| Founder of design studio SignalStrong. |
| » Download |
| Download the files used in this tutorial. |
| Download (7 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!