Trying to debug my calculator app so it will pass the final test

As of right now, when I use my calculator to type “5 * -5” it results in a -25 however when the FCC test runs it does not get the same result. Anyone able to help?

https://xkira1313.github.io/Calculator/

5 * -5 doesn’t seem to be working for me. I always end up with -5 in the top blue square.

Yeah so when I use the - not in () i get that same result but if I use the - in () i get -25… hmm

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.