在私有 void InitializePhoneApplication() 的 app.xaml.cs 中,我已经编写了这段代码,但是它没有将点作为默认的十进制分隔符,而是继续使用逗号,有什么想法吗?,任何帮助都将不胜感激
CultureInfo customCulture = (System.Globalization.CultureInfo)System.Threading.Thread.CurrentThread.CurrentCulture.Clone();
customCulture.NumberFormat.NumberDecimalSeparator = ".";
System.Threading.Thread.CurrentThread.CurrentCulture = customCulture;
Thread.CurrentThread.CurrentUICulture = customCulture;