This is what I have so far.
how do I ensure that i'll have two decimals? and that it rounds correctly?
$<%=h sale_item.value %>
This is what I have so far.
how do I ensure that i'll have two decimals? and that it rounds correctly?
$<%=h sale_item.value %>
Think this covers it: http://stackoverflow.com/questions/1019939/ruby-on-rails-best-method-of-handling-currency-money.