NSNumber *aNum = [NSNumber numberWithInteger: [startOdometerStr integerValue]];
NSLog(@"%@",aNum);//NSString to NSNumber
NSInteger number=[startOdometerStr intValue];
NSLog(@"%li",(long)number);
NSLog(@"%@",aNum);//NSString to NSNumber
NSInteger number=[startOdometerStr intValue];
NSLog(@"%li",(long)number);
Sign up here with your email
ConversionConversion EmoticonEmoticon