I am extracting double data from sqlite3 database. But I want to display it only upto two decimal places. So how to truncate it.
Ah, Ben beat me to it! You might also find this http://developer.apple.com/documentation/Cocoa/Conceptual/Strings/Articles/formatSpecifiers.html useful.