title: Converting a decimal to price format in Ruby
body: <p>Hey I am using the ruby on rails framework and I have a price variable that is a decimal. Naturally values like $39.99 is fine but when the price is $39.90 my app shows the price as $39.9 How could I change that.</p>
  <p><strong>My view</strong></p>
  <blockquote>
  <p>%b price</p>
  <p>= @product.price</p>
  </blockquote>