Format currency values using c#

Madhu.b.rokkam
Posted by Madhu.b.rokkam under C# category on | Points: 40 | Views : 3698
txtCurrencyField.Text = Convert.ToDouble("123456789.1234567").ToString("N4");

result would be
12,34,56,789.1235

N3 for 3 decimal places
N4 for 4 decimal places and so on...

Comments or Responses

Login to post response