Answers for "format number c#"

C#
2

format phone number in c# .net

Convert.ToInt64(value).ToString("###-###-####");
Posted by: Guest on March-31-2020
0

vb.net tostring numeric format string

decimal value = 123.456m;
Console.WriteLine("Your account balance is {0:C2}.", value);
// Displays "Your account balance is $123.46."
Posted by: Guest on May-18-2020

C# Answers by Framework

Browse Popular Code Answers by Language