Remove unneeded space. Closes #84
This commit is contained in:
parent
7ad455d7fc
commit
747c357c39
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ module ApplicationHelper
|
|||
def print_currency(cents, unit="EUR", sign=true)
|
||||
|
||||
dollars = cents.to_f / 100.0
|
||||
dollars = number_to_currency(dollars, :unit => "#{unit} ", :precision => (dollars.round == dollars) ? 0 : 2)
|
||||
dollars = number_to_currency(dollars, :unit => "#{unit}", :precision => (dollars.round == dollars) ? 0 : 2)
|
||||
dollars = dollars[1..-1] if !sign
|
||||
dollars
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue