complete-intro-to-web-dev-v3 icon indicating copy to clipboard operation
complete-intro-to-web-dev-v3 copied to clipboard

Calculator chained operation

Open TheAlmightyDada opened this issue 2 years ago • 0 comments

Hello,

On the calculator, if you were to type 1 - 1 - 1 - 1, you would expect to get -2 but it returns 0.

I think it has something to do with the buffer re-setting to "0" when the running total is 0.

TheAlmightyDada avatar Sep 26 '22 07:09 TheAlmightyDada