title: WPF: StringFormat problems with a Label
body: <p>These versions work as expected:</p>
  
  <pre><code>&lt;DataGridTextColumn Header="Total Units" Binding="{Binding TotalUnits, Mode=OneWay, StringFormat=N0}"/&gt;
  
  &lt;TextBlock Text="{Binding TotalUnits, Mode=OneWay, StringFormat=N0}"/&gt;
  </code></pre>
  
  <p>When I try it with a label, the StringFormat is iqnored and I get "123.000000" instead of "123". </p>
  
  <pre><code>&lt;Label Content="{Binding TotalUnits, Mode=OneWay, StringFormat=N0}"/&gt;
  </code></pre>
  
  <p>TotalUnits is a Decimal.</p>
  
  <p>So, what's going on?</p>