title: German culture and US number formatting
body: <p>I need to set the culture to german while keeping the US number format. Therefore, I'm setting </p>
  
  <pre><code>var culture = new System.Globalization.CultureInfo("de-DE");
  var usCulture = new System.Globalization.CultureInfo("en-US");
  culture.NumberFormat = usCulture.NumberFormat;
  CultureManager.UICulture = culture;
  </code></pre>
  
  <p>The <a href="http://www.codeproject.com/Articles/35159/WPF-Localization-Using-RESX-Files" rel="nofollow">CultureManager</a> is from Infralution and enables the switching of languages on the fly. I can verify that the NumberFormat is indeed set to US format with e.g. a "." as decimal seperator after above code. Nevertheless, the following expression </p>
  
  <pre><code>&lt;TextBox Text="{Binding MyDoubleVariable, StringFormat={}{0:0.#}}"/&gt;
  </code></pre>
  
  <p>where <code>MyDoubleVariable = 2.13</code> is displayed as <code>2,13</code>. Where's my mistake? <strong>How can I retain the US format?</strong></p>