Re: Desktop Calculator

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...

I just stumbled upon another one: what does 1+2*3 give you in Windows Calculator?

The answer is 9 if you're in standard mode, 7 if you're in scientific or programmer mode. Nice.

I think it has to do with the functionality it's trying to reproduce. On traditional desk calculator, pressing an operator completes the current calculation and uses the value to start a new one.

Key Press Display
1 1
+ 1
2 2
* 3
3 3
= 9

Now the flaw (bug?) seems to be in the way it displays the calculation it's performing in the background. When you press * it should clear the display and only show 3.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu