If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Thanks, yes this makes sense. My reading on Javascript claims that the interpreter can "figure out" what the data type of a variable should be. I guess it's not perfect especially since the addition and concatentate operator is the same. The interesting thing is that it does handle other operators. So if I multiply x by something, the result is as I would expect. And if a decimal number is input it can get parsed just fine.