Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Custom thousand separator
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Globalization; namespace Rextester { public class Program { public static void Main(string[] args) { NumberFormatInfo customFormatInfo = (NumberFormatInfo) CultureInfo.InvariantCulture.NumberFormat.Clone(); nfi.NumberGroupSeparator = " "; double customValue = 1000.34; Console.WriteLine(customValue.ToString("n", customFormatInfo)); // 1 000.34 } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Write a program to sort given array using bubble sort.
VB6 DateSerial to C#
find node in linked list
delete_xml_empty_tags
Print dulicate chars in a string
HourCouter
sss
Helloworld
Shalini_CSG_CodeTest
asxsdsdxasd
Please log in to post a comment.