3 Replies Latest reply on Oct 27, 2006 4:55 PM by kglad

    array to number datatype

    jonnybennett Level 1
      for (p=1;p<50;p++){
      arrayOfCats[p]=arrayOfSmallCats[p]+100;
      }

      However instead of adding 100 to the arrayOfSmallCats, it is concertinaring it as if it were a string. So
      31+100 would output '31100' opoosed to '131'

      Any ideason how to convert the array so it thinks it is number datatype. Thanks Jonnie.