Permalink
Browse files

Cosmetic fix in number_to_currency docs

  • Loading branch information...
1 parent c27c783 commit b015d92bb7fbc5ab30982f1163bed19d4888ac51 @avakhov avakhov committed with vijaydev Nov 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_view/helpers/number_helper.rb
View
4 actionpack/lib/action_view/helpers/number_helper.rb
@@ -100,10 +100,10 @@ def number_to_phone(number, options = {})
# number_to_currency(1234567890.50) # => $1,234,567,890.50
# number_to_currency(1234567890.506) # => $1,234,567,890.51
# number_to_currency(1234567890.506, :precision => 3) # => $1,234,567,890.506
- # number_to_currency(1234567890.506, :locale => :fr) # => 1 234 567 890,506
+ # number_to_currency(1234567890.506, :locale => :fr) # => 1 234 567 890,51
#
# number_to_currency(-1234567890.50, :negative_format => "(%u%n)")
- # # => ($1,234,567,890.51)
+ # # => ($1,234,567,890.50)
# number_to_currency(1234567890.50, :unit => "£", :separator => ",", :delimiter => "")
# # => £1234567890,50
# number_to_currency(1234567890.50, :unit => "£", :separator => ",", :delimiter => "", :format => "%n %u")

0 comments on commit b015d92

Please sign in to comment.