29 using System.Globalization;
30 using System.Threading;
32 namespace OpenSim.Framework
36 private static readonly CultureInfo m_cultureInfo =
new CultureInfo(
"en-US",
false);
38 public static NumberFormatInfo NumberFormatInfo
40 get {
return m_cultureInfo.NumberFormat; }
43 public static IFormatProvider FormatProvider
45 get {
return m_cultureInfo; }
53 Thread.CurrentThread.CurrentCulture = m_cultureInfo;
static void SetCurrentCulture()
Set Culture to en-US to make string processing of numbers simpler.