title: cellForRowAtIndexPath (need to use one string and one integer values in the indexpath)
body: <p>Dear all
  I am trying to display two different arrays in one tableView.
  I declared "years" array as strings and "amount" array as integers.
        years                 amount
  e.g: 2012, 2013 ....      155888,    151768
  When I build7run the application the outcome is like below:
  (it looks like it decrements numbers by 16)</p>
  
  <pre><code> Remaining Amount On  
  </code></pre>
  
  <p>2012:      80912864<br>
   2013:      79047056<br>
   2014:      79046640<br>
   2015:      79046640<br>
   2016:      79051632<br>
  ...<br>
   2020:      80928544  </p>
  
  <p>The "year" array works as it is string but the integer array which is "amount" does not.
  I am pretty sure that I am doing wrong in the <strong>cell.text=</strong>  line with the integer number formatting.
  I would be very happy if you could help to solve this problem
  Thanks in advance</p>
  
  <p>-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{</p>
  
  <pre><code>static NSString *CellIdentifier = @"remainingAmountOn";
  UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  if (cell == nil) {
  cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
  }
  
  NSUInteger row = [indexPath row];
  **cell.text =** [NSString stringWithFormat:@"%@   %d", [years objectAtIndex:row],
  </code></pre>
  
  <p>[NSNumber numberWithInt:[amount objectAtIndex:row]]];</p>
  
  <pre><code>return cell;
  </code></pre>
  
  <p>}</p>