aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAlexey Vakhov <vakhov@gmail.com>2011-11-10 09:45:57 +0400
committerAlexey Vakhov <vakhov@gmail.com>2011-11-10 09:45:57 +0400
commit983a2dccaa263bad1f055a85d864a8097f0af8a2 (patch)
tree64524c2e5504ef9d7cdee6fe4d2b03d40f806a87 /actionpack
parentcff1d751d09e8586f47ae25416085e05ade4f7cd (diff)
downloadrails-983a2dccaa263bad1f055a85d864a8097f0af8a2.tar.gz
rails-983a2dccaa263bad1f055a85d864a8097f0af8a2.tar.bz2
rails-983a2dccaa263bad1f055a85d864a8097f0af8a2.zip
Cosmetic fix in number_to_currency docs
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/number_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb
index 7031694af4..e8ad043e20 100644
--- a/actionpack/lib/action_view/helpers/number_helper.rb
+++ b/actionpack/lib/action_view/helpers/number_helper.rb
@@ -100,10 +100,10 @@ module ActionView
# 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 => "&pound;", :separator => ",", :delimiter => "")
# # => &pound;1234567890,50
# number_to_currency(1234567890.50, :unit => "&pound;", :separator => ",", :delimiter => "", :format => "%n %u")