Ruby on Rails: how do I format money for my view? [duplicate]
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: What is the best method of handling currency/money?.
精彩评论