title: Convert NSString to Int
body: <p>I try to convert <code>NSString</code> to <code>int</code>,Result dpPoint:0, I want  dpPoint:2</p>
  
  <pre><code>dpPointStr = [NSString stringWithFormat:@"%@",[verifyRow valueForKey:@"default_point"]];
  NSLog(@"dpPointStr:%@",dpPointStr); //Result dpPointStr:2
  
  int dpPoint = [dpPointStr intValue];
  NSLog(@"dpPoint:%i",dpPoint); //Result dpPoint:0
  </code></pre>