title: c# How to separate an int with decimal points?
body: <p>I am trying to format an int with decimal points as separators, not commas.</p>
  
  <p>Example: <strong>1234567890</strong> should be formatted to <strong>1.234.567.890</strong></p>
  
  <pre><code>text_team1.text = em.team1Score.ToString("#,##0");
  </code></pre>
  
  <p>This will give <strong>1,234,567,890</strong></p>
  
  <p>However in <a href="https://stackoverflow.com/questions/105770/net-string-format-to-add-commas-in-thousands-place-for-a-number">this topic</a> there was some information about using the class CultureInfo which contains the format-style, so I used several of them:</p>
  
  <pre><code>text_team1.text = em.team1Score.ToString("#,##0", new System.Globalization.CultureInfo("IS-is"));
  </code></pre>
  
  <p>as an example. But it seems that every cultureInfo uses a comma as separator.</p>
  
  <p>Even by editing the string afterwards, there is still the comma as seperator.</p>
  
  <pre><code>text_team1.text = em.team1Score.ToString("#,##0");
  text_team1.text.Replace(',','.');
  </code></pre>