|
-
Nov 25th, 2001, 09:31 AM
#1
Thread Starter
Junior Member
Question about using strings
Hi
I've got a simple calculator program which uses strings to contain the numbers entered as well as the answer. The problem I have is I can't perform any mathematical calulations with them. For example with the code I used to add the two numbers i.e. 2, 1 they donot add together they just combine so instead of getting the answer 3 I get 21. What am I doing wrong?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|