SyntaxFix
Write A Post
Hire A Developer
Questions
You can pass some options to number_to_currency (a standard Rails 4 view helper):
number_to_currency
number_to_currency(12.0, :precision => 2) # => "$12.00"
As posted by Dylan Markow