title: Accept decimals in form using 'step': decimal is not saving correctly in database
body: <p>I'm trying to accept decimals in my form: </p>
  
  <pre><code>  &lt;%= f.label :price %&gt;&lt;br /&gt;
    &lt;%= f.number_field :price, :step =&gt; 0.01 %&gt;
  </code></pre>
  
  <p>But anytime I type in a number like 13.75 in the form from the client side, it'll round the number down to just $13.00. This is the code to display the price:</p>
  
  <pre><code>&lt;%= number_to_currency(@product.price) %&gt;
  </code></pre>
  
  <p>I don't think the number_to_currency method has anything to do with it but I guess it's worth noting. </p>
  
  <p>Any assistance will be greatly appreciated, thanks!</p>