Created
March 19, 2015 16:00
-
-
Save reedling78/0b52537fb206868e1843 to your computer and use it in GitHub Desktop.
C# Thousands Separator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
var number = 149872389041; | |
Console.WriteLine(number.ToString("#,0")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment