thebull1
Programmer
- Oct 24, 2001
- 68
I'm a novice in Javascript and I have run into a small problem.
How do you for example perform var1 + var2 ?? When I do this I get a concatenation of the two variables...eg if var1=5 and var2=6, var1 + var2 gives me 56 and not 11. How do I go round this??
How do you for example perform var1 + var2 ?? When I do this I get a concatenation of the two variables...eg if var1=5 and var2=6, var1 + var2 gives me 56 and not 11. How do I go round this??