Module: Brcobranca::Currency
- Defined in:
- lib/brcobranca/currency.rb
Overview
Defined Under Namespace
Constant Summary collapse
- BRL =
ImplementaĆ§Ć£o feita por Fernando Vieira do simplesideias.com.br post simplesideias.com.br/usando-number_to_currency-em-modelos-no-rails
{:delimiter => ".", :separator => ",", :unit => "R$", :precision => 2, :position => "before"}
- USD =
{:delimiter => ',', :separator => ".", :unit => "US$", :precision => 2, :position => "before"}
- DEFAULT =
BRL.merge(:unit => "")