0
Posted on 7:13 AM by Softminer and filed under

  1. NumberFormatInfo provider = new NumberFormatInfo();

  2. provider.NumberDecimalSeparator = ",";



  3. double doubleNumber;

  4. doubleNumber = Convert.ToDouble(arg, provider);

  5. return doubleNumber.ToString("F1", CultureInfo.CreateSpecificCulture("de-DE"));



0
Responses to ... Format Decimal from German to English with separator