title: How to Format a DBGrid Column to Display Two Decimal Places?
body: <p>I would like to format specific cells to force two decimal places. The data is coming from an ElevateDB stored procedure and hooked into a TDataSource.</p>
  
  <p><strong>EDIT: SQL Programming Note:</strong></p>
  
  <p>I wasn't sure if this was just an ElevateDB issue or not. Before knowing about the <strong>Fields Editor</strong>, I attempted to format the data at the SQL level by using a CAST (NumericField as varchar(10)) statement inside the stored procedure. By doing so, it did not expose the <strong>DisplayFormat</strong> property inside the fields editor for this particular field.  </p>
  
  <p>When I removed the CAST() statement from the stored procedure, the <strong>DisplayFormat</strong> property showed up in the <strong>Fields Editor</strong>.</p>