I am having trouble showing commas in price in Nepalese style . The number should be shown as 5,00,00,000 rather than 500,000,000 which i got using NSNumber Formatter.
Asked
Active
Viewed 42 times
0
-
show us your code. – dahiya_boy Mar 13 '18 at 06:10
-
you can use groupingSize to correctly format: numberFormatter.groupingSize = 3 numberFormatter.secondaryGroupingSize = 2 – Rikesh Subedi Mar 13 '18 at 06:30