title: how to convert string to int in objective c
body: <p>i am trying to display annotations in map.
  I have the lat and longi in string format.
  now i just need to convert it to int. </p>
  
  <pre><code>    NSString *s= @"18.65799";
      location1.latitude =[s intValue];
      NSLog(@"1%d",[s intValue]);
              NSString *s1= @"73.774262";
      location1.longitude=[s1 intValue];
  </code></pre>
  
  <p>But when i display [s intValue]the out put is 118.
  and output for NSLog(@"1%@",location1.latitude) is null;</p>
  
  <p>Please  help.</p>