Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Lab 2: The Mortgage Calculator
- Authors: jackwuuu (XiaoTong Wu) and sohrab23 (Sohrab Oryakhel)
- Introduction: We created a mortgage calculator which, through the controller, put user inputs (principle, interest, amortization) into the models: "MortgageModel". This model in turn calculated the monthly payment and the YU Payment to be displayed to the user.
- Results: Some calculation errors were encountered but after debugging, we were able to fix the problem. One of us had a layout problem where the results label was incorrectly snapping to the upper border. We were unable to find a solution so we are using the source file of the other partner.
- Discussion: "Since all entries are numeric, can you modify the properties of the input boxes so that a numeric keyboard pops instead of the general alphanumeric one?"
- We set the RawInputType of the EditText view to TYPE_CLASS_NUMBER.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement