Advertisement
Lauda

Untitled

Dec 1st, 2014
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.38 KB | None | 0 0
  1.             // Set regional settings to en-US (fixes stupid parser issues!!!)
  2.             System.Globalization.CultureInfo customSeparator = (System.Globalization.CultureInfo)System.Threading.Thread.CurrentThread.CurrentCulture.Clone();
  3.             customSeparator.NumberFormat.NumberDecimalSeparator = ".";
  4.             System.Threading.Thread.CurrentThread.CurrentCulture = customSeparator;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement