c# double to string with dot

59

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)));
  }
}

Comments

Submit
0 Comments