Type Conversion In Objective-C
The best practice is looking at examples:
[@"12" integerValue]
[@"12345" longLongvalue]
[@"12.45" floatValue]
[@"12.45" doubleValue]
The best practice is looking at examples:
[@"12" integerValue]
[@"12345" longLongvalue]
[@"12.45" floatValue]
[@"12.45" doubleValue]