I created a NSMutableArray which contains a lot of NSString and float
DataOrder *addClient = [[DataOrder alloc ] initWithName:[[DataOrder instance]product] pric
Also if you didn't create any property/attribute, you can do like:
NSNumber *sum = [anArray valueForKeyPath:@"@sum.floatValue"];
or
float sum = [[anArray valueForKeyPath:@"@sum.floatValue"] floatValue];