I am trying to convert string to India Money format like if input is \"1234567\" then output should come as \"12,34,567\"
I have written following code but its not g
Try this
int myvalue = 123456789; Console.WriteLine(myvalue.ToString("#,#.##", CultureInfo.CreateSpecificCulture("hi-IN")));//output;- 12,34,56,789