Wednesday, May 24, 2017

Solve - How to show a string in indian rupees format in C#.net?

double dblAmt=134600.00;

System.Globalization.CultureInfo info = System.Globalization.CultureInfo.GetCultureInfo("en-IN");
string StrAmt = dblAmt.ToString("N2", info);
txtAmt.Text = StrAmt;


Output :=   1,34,600.00

No comments: