diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-18 23:11:46 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-18 23:11:46 +0530 |
commit | 48b580a03b84a277123b656efee91613f7503479 (patch) | |
tree | 3ae489a77071743aa0e7f447f79263b1a7e5a3ab /actionpack/lib | |
parent | 2debbe1581976d4694cb35ea7942c12f9224fb9f (diff) | |
parent | 9d035292ba39fcb046656ceb28e7a2f10cdb7f9c (diff) | |
download | rails-48b580a03b84a277123b656efee91613f7503479.tar.gz rails-48b580a03b84a277123b656efee91613f7503479.tar.bz2 rails-48b580a03b84a277123b656efee91613f7503479.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/number_helper.rb | 3 |
1 files changed, 2 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..b37e837a23 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -193,7 +193,8 @@ 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, :delimiter => ",") # => 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 |