title: formatting decimal value in column in datagridview
body: <p>I want to formatting a column of sum value: for example I have 19240 I want it 192.40 I tried many way but nothing </p>
  
  <pre><code>dgw.Grid.Columns["Sum"].DefaultCellStyle.Format="0:00" // 192:40
  
  dgw.Grid.Columns["Sum"].DefaultCellStyle.Format="n"    // 19240.00
  
  dgw.Grid.Columns["Sum"].DefaultCellStyle.Format="0.00" // 19240.00
  
  dgw.Grid.Columns["Sum"].DefaultCellStyle.Format=string.Format("{0:0.##}") // Exception
  </code></pre>
  
  <p>I want all items in that column in datagrid view with the same format</p>
  
  <p><strong>edit</strong> :  <em>a way to do it</em>:</p>
  
  <p>I use this methode to get what I want </p>
  
  <pre><code>    int _sum;
      public int Sum
      {
          get { return _sum; }
          set { _sum= value; }
      }
  
      public double SumAsdouble
      {
          get
          {
              if (_sum== 0)
                  return 0;
              else
                  return Convert.ToDouble(_sum) / 100;
  
          }
      }
  </code></pre>
  
  <p>and I make hidden the Sum and show the SumAsdouble</p>
  
  <p>and this work for me</p>