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
Linq
D18
Derived static
My quad calc
Scheduler NLog config
Collection_ Introduction default constructor rule_accessing methods from object returned from property
dfdfdff
hello,world
Ruben
Full text search using Linqdb