I am extracting double data from sqlite3 database. But I want to display it only upto two decimal places. So how to truncate it.
Use sprintf formatting with NSString: [NSString stringWithFormat: @"%.2f", myValue];