title: How to store a percentage value?
body: <p>I am using Rails 3.2.2 and I would like to <em>store</em> and <em>handle</em> a percentage value in a my database table column. What do you advice about (for example, what type - <code>:integer</code>, <code>:float</code>, <code>:decimal</code>, ... - of the column should I set)? Is there some alert that I must/should know about storing percentage values?</p>
  
  <p>The precision should be <em>2</em> (<code>1.99%</code>, <code>50.01%</code>, ...).</p>
  
  <p><em>Note</em>: I read <a href="https://stackoverflow.com/questions/8203268/storing-a-percentage-in-rails-mysql">this post</a>.</p>