title: DataFormatString for percent with decimals only when needed?
body: <p>I am trying to use these on EF code first properties with MVC:
  <a href="http://msdn.microsoft.com/en-us/library/0c899ak8.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/0c899ak8.aspx</a></p>
  
  <p>Specifically:</p>
  
  <pre><code>[DisplayFormat(DataFormatString="##.##%")]
  public double? PercentOfSomething {get;set;}
  </code></pre>
  
  <p><strong>How do I get .2345 to display as 23.45% and .2 to display as 20%</strong> 
  In other words, only show the decimal, up to two places, if there is one.</p>
  
  <p>As it is now, it just displays the format string "##.##%".  I am guessing maybe these types of format strings are not supported by the DisplayFormat attribute.</p>