I want to add comma to decimal numbers every 3 digits using c#. I wrote this code :
double a = 0; a = 1.5; Interaction.MsgBox(string.Format(\"{0:#,###0}
Did you tried by this:-
string.Format("{0:0,000.0}", 1.5);