title: Is there a format with fixed number of digits in c#?
body: <p>I mean if I set to 6</p>
  
  <pre><code>if I have 123, I would get 123.000
  if I have 123.45, I would get 123.450
  if I have 123456 I would 123456
  if I have 1234567 I would get 1234567
  </code></pre>
  
  <p>In Math there is a name for this though I don't remember.</p>
  
  <p>I can't see it here ?
  <a href="http://msdn.microsoft.com/en-us/library/dwhawy9k.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/dwhawy9k.aspx</a></p>
  
  <p>My question is for C# NOT JAVA and about using STANDARD in this language if it exists not custom algorithm since some people thumbed down : they seem to reinvent the wheel.</p>