|
-
Jun 28th, 2000, 01:18 AM
#1
Thread Starter
Hyperactive Member
Hi Everybody,
I've just created a calculator in JavaScript. Everything is working just fine apart from the plus button. I have a number in the variable num1 and a number in the variable num2. When I say num1 += num2 the values of both are concatenated and placed into num1. What I would like to happen is the values of both be added to each other and sent to num1. Could you please help me? Thanks
You can see my calculator here http://members.xoom.com/rino_2/jscalc.htm it's not great, I'm new to JavaScript.
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
|