title: MFC Property Grid Formatted Floats
body: <p>So I'm working on an editor-style application using C++ / MFC in Visual Studio 2008.</p>
  
  <p>The default wizard project for a visual studio style application is full of useful goodness, but doesn't address everything, and even a few MFC books I found don't mention this particular question.</p>
  
  <p>How do you go about getting a property viewer using <code>CMFCPropertyGridProperty</code> that displays a floating point value to limit the number of decimal places it shows?  Right now, you seem to get 6 decimal places on a float value (constructed using a floating point <code>_variant_t</code>).  Is there any way to change this?</p>