I think you will want to investigate
Reverse Polish Notation as it is applied to calculators. google has lots of information about it.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,954 posts
since Aug 2005