I want to format the number separated by comma for every 3 digits. For ex:12346778, I want this number as 12,346,778 Can anyone please Suggest sample code for this. Thanks in Advance.
NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init];
[formatter setNumberStyle:NSNumberFormatterDecimalStyle];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With