Calculator Project Finished

Calculator Project Finished


So happy to be done! I really appreciate how the different projects in this certification kinda forces you to become comfortable with different areas of development.

I learned that designing how your code will function and interact with the user is extremely important!!

Spending time with a pen and paper and figuring the process out first will save you soo much headache when you try passing the tests. Please provide me with some feedback. Is it like an iphone calculator or a poor knock-off lol. My phone inspired me. Thank you in advance


Found a slight bug.

I should be able to add 0.1 to 0.2 and get 0.3

Your returns 0.30000000000000004

Also, on most calculators (including IPhone), a user should be able to enter .5 + .6 = and get 1.1

I have to enter .5 + 0.6 to get 1.1, but I should not really have to add the 0 in front of the decimal point on the second operand.


@randelldawson Thank you for the feedback!

I believe I have addressed those issues now. I limited my display to about six digits with Math.round(). I also addressed the condition that led to you not being able to enter .5 + .6 = and get 1.1.

Again thank you for the feedback I really appreciate it!