How Would You Write A Dynamic Text Input Calculator?

Started by
23 comments, last by ajm113 12 years ago
Maybe I'm confusing the process, but when I type this formula say in a Windows calculator I get 28.269 (Which is my code's output), but if I type this in Mac's default calculator it outputs your code's answer of 17.564. Why do I get different results from different calculators. =/ I guest it's not a bug then at all.
Check out my open source code projects/libraries! My Homepage You may learn something.
Advertisement
How about you actually think of what the expression means and then decide which calculator has the bug?
Chill out guys. It's just a calculator.

Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]


Chill out guys. It's just a calculator.

I write code for a living and take certain pride in the quality of any code I write. He first accused my code of not being robust and then of being buggy. And if the code really has some issues (which is likely), I would like to know what they are so I can avoid them in the future.

But you are right: It's just a calculator. Sorry about taking this so seriously.
It was a simple miss understanding is all. =P
Check out my open source code projects/libraries! My Homepage You may learn something.

This topic is closed to new replies.

Advertisement