You can format any number to x decimal places with stringWithFormat:
NSString dbString = @"2.4312"; // Or however you get this number from your database
float *number = [dbString floatVal];
NSString *formattedNumber = [NSString stringWithFormat:@"%.2f", number];