title: VB.NET Format Number with terminating decimal
body: <p>I have an internal process that requires data in a very specific format. Nothing I can do about that. So in my VB.NET program I am trying to output a number with a terminating decimal and nothing after it. I tried</p>
  
  <pre><code> swOut.WriteLine("{0,10:###0.}", var)
  </code></pre>
  
  <p>But the output is a whole number</p>
  
  <pre><code> 886
   913
   941
   971
  1002
  1034
  </code></pre>
  
  <p>and what I need is </p>
  
  <pre><code> 886.
   913.
   941.
   971.
  1002.
  1034.
  </code></pre>
  
  <p>Must be easy but cant find it in the .NET help. </p>
  
  <p>thanks</p>
  
  <p>~agp</p>