title: .NET General Number Formatting with Thousands Separator
body: <p>Is it possible in .NET to have the most compact number formatting like  <a href="https://msdn.microsoft.com/en-us/library/dwhawy9k%28v=vs.110%29.aspx#GFormatString" rel="nofollow"><code>"G"</code>eneral Number formatting</a>, <strong>with extra thousands separator</strong>.</p>
  
  <p>I can't use the following</p>
  
  <pre><code>String.Format("{0:#,###.###}",32445.324777M)
  </code></pre>
  
  <p>Because I get <code>"32,445.325"</code>, and instead the result I want should be <code>"32.445,325777"</code>. Is should also work with an arbitrary number of significant digits in the fractional part.</p>
  
  <p>PS: I only need this for <a href="https://msdn.microsoft.com/en-us/library/364x0z75.aspx" rel="nofollow">decimal</a>s.</p>