title: Changing the decimal separator in Visual Studio 2017
body: <p>Is there a setting to change the default decimal separator (',' to '.') for float/double/decimal in VC 2017? </p>
  
  <p>Right now i have to copy-paste this into every project: </p>
  
  <pre><code>System.Globalization.CultureInfo customCulture = (System.Globalization.CultureInfo)System.Threading.Thread.CurrentThread.CurrentCulture.Clone();
  customCulture.NumberFormat.NumberDecimalSeparator = ".";
  System.Threading.Thread.CurrentThread.CurrentCulture = customCulture;
  </code></pre>
  
  <p>EDIT: Okay, figured this one out thanks to Tim. This setting is OS based, therefore you have to change it in your OS settings.</p>
  
  <p>For Windows you have to type "Region" into the Search box. Go to Additional Settings and change the "Decimal symbol" option.</p>