Jump to content

Archived

This topic is now archived and is closed to further replies.

ReVeR

Adding variables.

Recommended Posts

Hello.
When i add a few variables they get concatenated as opposed to mathemetical addition.
if i do ++, then it works, but what if ineed to add 2 variables, and javascript tries to concatenate them...how can i force it to be mathemetical addition?
Thx

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.