title: How can I get the actual value of the char instead of the int value
body: <p>So at first i was trying to use character at index, then convert it to nsnumber, and then get the int value, but for 9 i got a value of 57. So I knew what was going wrong, I'm getting the int of the character itself.</p>
  
  <p>So I read a little, and found atoi, but I get this error, that doesnt crash my app jsut pauses it.</p>
  
  <p>My code is:
       int current = atoi([startSquares characterAtIndex: i]);</p>
  
  <p>Now startSquares is a big string full of numbers, and this above line is in a for loop where i goes from 0 to 99.</p>