I have following numbers which has to be inserted into sqlite db and comma needs to be removed and decimal point needs to remain while inserting into sqlite db.
While retrieving I need to display the value with comma at exact position in ios6.Please guide me I am noob to sqlite and iOS.Thanks in Advance.Please treat this question as a common question for beginners to enter data into sqlite db.Thanks again.
Price
377,245.67
5,104,245.00
23,332.98
126,875.21
5,112,225.14
Try this to remove commas and get an NSNumber from string,
Then to get the string with comma in number,
For more details check NSNumberFormatter Class