Feedback on calculator!

Feedback on calculator!
0

#1

I did the calculator challenge previously, but I’ve been going back over my old projects and overhauling them, basically, because they didn’t look/function that great. Please let me know what you think!


#2

Looks great! :slight_smile:
Just one I noticed, when the number is long it goes out of the screen:


#3

The CE button does not appear to do anything and definitely does not do what it is supposed to do (only clear what has been entered before an operation has been performed on the entry).

Also, you should not allow multiple decimal points, +, -, *, or division operators to be entered consecutively.

I can type the following:

3…5+++++6******8

Even though pressing = does not attempt a calculation to display, a normal calculator would not allow such operations.


#4

Hm, I’m not totally sure why it’s doing that. I have it so that if it exceeds 9 characters, an alert pops up and it clears the screen. :confused:


#5

Just kidding. I just realized it still goes outside the calculator if the /answer/ is longer than 9 characters, so I gots to fix that. :stuck_out_tongue:


#6

I like the design very much!

One thing to fix is that you shouldn’t let double commas so this cannot happen; 25.3.1
Shouldn’t be hard to implement!

Keep up the good job!


#7

I believe I fixed that issue! Thank you for pointing it out!


#8

So, I updated a lot on the calculator, and I believe I fixed all the issues mentioned in this thread. Thank you guys so much for pointing them out! Sometimes I get ahead of myself before I’ve really checked all the bugs and what not.


#9

It looks great and kind of retro! I didn’t find any more bugs that weren’t already mentioned.


#10

Wait, so did it still have bugs? Because I’m pretty sure I fixed the issue with the number exceeding the length of the screen, double digits, etc. :grimacing:


#11

Nope. I just meant that other people had already pointed out the bugs. Is CE supposed to delete the " * " before an operation has been performed?