diff options
author | Matt Duncan <mrduncan@gmail.com> | 2011-04-15 20:27:05 -0400 |
---|---|---|
committer | Matt Duncan <mrduncan@gmail.com> | 2011-04-15 20:27:05 -0400 |
commit | 004042c0d94f0294e691de46094a665acd852653 (patch) | |
tree | f68bcce9443d178d7d60731e74fd8a48cc9f32e6 | |
parent | 7f98b544e3b29c7ffdb8cb4a2ad1da5d1a8c611c (diff) | |
download | rails-004042c0d94f0294e691de46094a665acd852653.tar.gz rails-004042c0d94f0294e691de46094a665acd852653.tar.bz2 rails-004042c0d94f0294e691de46094a665acd852653.zip |
Fixing missing colon on symbol in example
-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 68ebedd328..a150019e5c 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -238,7 +238,7 @@ module ActionView # number_with_precision(111.2345, :precision => 1, :significant => true) # => 100 # number_with_precision(13, :precision => 5, :significant => true) # => 13.000 # number_with_precision(111.234, :locale => :fr) # => 111,234 - # number_with_precision(13, :precision => 5, :significant => true, strip_insignificant_zeros => true) + # number_with_precision(13, :precision => 5, :significant => true, :strip_insignificant_zeros => true) # # => 13 # number_with_precision(389.32314, :precision => 4, :significant => true) # => 389.3 # number_with_precision(1111.2345, :precision => 2, :separator => ',', :delimiter => '.') |