3 Replies Latest reply on Feb 28, 2007 5:29 AM by Pal_w_G

    Adding to a variable problem

    TheScarecrow Level 1
      I have a variable called currentNumber. If I try and add to it I get a strange results and I wonder if anyone knows how to fix it. for example. if currentNumber = 4. I would say (currentNumber+1).. I get the result of 41... why is that? shouldnt it be 5??