title: Convert a column's value when displaying in an Edit view
body: <p>So, my subject line isn't doing my question justice, but here is what i need:</p>
  
  <p>I have a price field in my Product model.</p>
  
  <p>Here is the form field I use, it's just a normal form field:</p>
  
  <pre><code>&lt;%= f.label :price, "Price: Use numbers and a decimal only. E.g., 34.00" %&gt;&lt;br /&gt;
  &lt;%= f.text_field :price, :style =&gt; "width: 50px" %&gt;
  </code></pre>
  
  <p>I convert this decimal into an integer before i save it in the database, this is because I have to do some math later on with it, and well Integers are easier to add then dealing with float math.  </p>
  
  <p>However, when a user goes to Edit this field again, it comes up as an Integer or <code>3400</code> in the text field.</p>
  
  <p>How do i tell <code>f.text_field</code> to display the float value instead?  </p>
  
  <p>My google fu is off, so any help is appreciated.</p>