How to convert an NSString into an NSNumber
NSNumberFormatter * fmt = [[[NSNumberFormatter alloc] init] autorelease];
[fmt setNumberStyle:NSNumberFormatterDecimalStyle];
NSNumber * myNumber = [fmt numberFromString:@"19"];
NSNumberFormatter * fmt = [[[NSNumberFormatter alloc] init] autorelease];
[fmt setNumberStyle:NSNumberFormatterDecimalStyle];
NSNumber * myNumber = [fmt numberFromString:@"19"];