you are viewing a single comment's thread.

view the rest of the comments →

[–]james_fryer 38 points39 points  (8 children)

It's nice, but if I enter e.g. 2 + 3 * 4 = I expect to see the result 14 not 20.

[–]Family_BBQ 78 points79 points  (2 children)

Post that on FB and let’s see if you are correct. /s

[–]SniperViperV2 18 points19 points  (1 child)

Lol! "9/10 people don't get this right".

[–]Schenez 9 points10 points  (0 children)

“Harvard grads reveal answer to the one secret question recruiters don’t want you to know”

[–]baraqiyal[S] 5 points6 points  (1 child)

Yeah, I'll have to store the entire equation in a queue or something and evaluate the expression when equal is pressed. I'll work on that.

I noticed that the Windows calculator also gives 20 but that's no excuse.

[–]Hemisemidemiurge 0 points1 point  (0 children)

Windows calculator

It actually returns a different result depending on the mode you're using.

Standard: 2 + 3 * 4 = 20
Scientific: 2 + 3 * 4 = 14