I want to convert NSString value into double. Please give me good code example for this conversion.
Following code will work perfectly:
NSScanner *strLat = [NSScanner scannerWithString:@"1.309"]; double dblLat; [strLat scanDouble:&dblLat];
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.