I have a 4 positon array with characters (numbers) stored in it. For example 49, 50, 51, 52...which would be 1,2,3,4 respectively. What I want to do is build the number 1234 out of the array. This is the code I have so far and it doesn't seem to wanna work.
PHP Code:
j=iFieldSz;
     for(
i=0;i<iFieldSz;i++) {
          
itemp = (int)(number[i] - 48);
          
inumber += itemp pow(10.0,(double)j);
          
j--;
     }
     
printf("%d",inumber); 
any help would be great