Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
string.Format example
//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; namespace Rextester { public class Program { public static void Main(string[] args) { string valorTeste = "100,000.00"; Console.WriteLine(string.Format("{#.##0,##}", float.Parse(valorTeste, System.Globalization.CultureInfo.InvariantCulture))); Console.WriteLine(string.Format("{0:n}", float.Parse(valorTeste, System.Globalization.CultureInfo.InvariantCulture)).ToString()); } } }
run
|
edit
|
history
|
help
0
ANQ Bug with Feb month display
Sort A List : Print the sorted list of ages of the students
Geração de HASH do SKU pra enviar para Vtex
Insertion Sort
Random number generator With IF's that sometimes cant count
Card Shuffling
Test Random
Remove Duplicates - Asif Ali
English stop words
Hash plus i minus