diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-18 23:09:30 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-18 23:09:30 +0530 |
commit | 5a2db4c7c379553692957ff807170c9ebaa87889 (patch) | |
tree | d956df11fb7d949e338872c67a526d84f1e60bdf /actionpack | |
parent | bc9b1e0a10359dcb81288a4076100d69d8573d9e (diff) | |
download | rails-5a2db4c7c379553692957ff807170c9ebaa87889.tar.gz rails-5a2db4c7c379553692957ff807170c9ebaa87889.tar.bz2 rails-5a2db4c7c379553692957ff807170c9ebaa87889.zip |
put back the removed eg
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/helpers/number_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb index c642716b18..b37e837a23 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -193,6 +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, :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 => ",") |