C#: Format number to string with comma separated with thousand place

int number = 1000000000;
string whatYouWant = number.ToString("#,##0");
//You get: 1,000,000,000

Comments

Popular posts from this blog

Post packing slip of sales order in X++