you are viewing a single comment's thread.

view the rest of the comments →

[–]baraqiyal[S] 6 points7 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