Search code examples
c#uwpglobalization

How take decimal symbol (string/char) in current region?


I try find this in Windows.Globalization, but didn't find.

Is it possible to get it or not? If not? Are there alternative ways of formatting in different regions?

Example: Convert.ToDouble("0" + Decimal_Symbol.ToString() + "0001");


Solution

  • char regionSymbol = (1.1).ToString()[1];