diff options
author | Edward Anderson <edward.anderson@scimedsolutions.com> | 2011-11-17 20:10:49 -0500 |
---|---|---|
committer | Edward Anderson <edward.anderson@scimedsolutions.com> | 2011-11-17 20:10:49 -0500 |
commit | fe88745d5f1f9419f11bda84b422e5dfa54a5ab8 (patch) | |
tree | 647eafe1266cbbd005844b19b909fc229e8d85dc /actionpack/lib | |
parent | 8d17af23ef5202e7c28bbf701e247bce6011df07 (diff) | |
download | rails-fe88745d5f1f9419f11bda84b422e5dfa54a5ab8.tar.gz rails-fe88745d5f1f9419f11bda84b422e5dfa54a5ab8.tar.bz2 rails-fe88745d5f1f9419f11bda84b422e5dfa54a5ab8.zip |
Fix a number_with_delimiter :separator example
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/number_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb index e8ad043e20..c642716b18 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -193,7 +193,7 @@ module ActionView # number_with_delimiter(12345678) # => 12,345,678 # number_with_delimiter(12345678.05) # => 12,345,678.05 # number_with_delimiter(12345678, :delimiter => ".") # => 12.345.678 - # number_with_delimiter(12345678, :separator => ",") # => 12,345,678 + # number_with_delimiter(12345678.05, :separator => " ") # => 12,345,678 05 # number_with_delimiter(12345678.05, :locale => :fr) # => 12 345 678,05 # number_with_delimiter(98765432.98, :delimiter => " ", :separator => ",") # # => 98 765 432,98 |