String.Format- a comma in each thousand
I have tried to Convert.ToString to convert int into a format a comma in each thousand. I am not successfully. Well, because I went to a wrong way. I shoulduse String.Format. Just like this
Display the int in thousand format(e.g. 1,200)
String.Format("{0:N0}",i);
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)
Feedback awaiting moderation
This post has 3694 feedbacks awaiting moderation...
Form is loading...