c# convert double to string with dot code example
Example 1: c# double to string with dot
using System
using System.Globalisation
class Program
{
static void Main()
{
double v = 5.5;
Console.Write(v.ToString(new CultureInfo("en-us", false)));
}
}
Example 2: c# convert double to string
Double result = "12345.6789";
// outputs 12345.6789
print(result.ToString("r"));