У меня есть этот код
, где я вставляю двойное значение в массив массивов
double myDouble = [textField2.text doubleValue];
NSArray *temp = [[NSArray alloc]initWithObjects: textField1.text, [NSNumber numberWithDouble:myDouble], nil];
[appDelegate.extra addObject:temp];
после того, как я
NSString *cost = [NSString stringWithFormat: @"%.2f", [[appDelegate.extra objectAtIndex:0]objectAtIndex:1]];
[label1 setText:[[appDelegate.extra objectAtIndex:0]objectAtIndex:0]];
[label2 setText:cost];
, тогда, если я напишу "1 "в textField2 У меня есть" 0,00 "в label2 .... почему ???