Skip to content
This repository
Browse code

Fix a number_with_delimiter :separator example

  • Loading branch information...
commit fe88745d5f1f9419f11bda84b422e5dfa54a5ab8 1 parent 8d17af2
Edward Anderson nilbus authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  actionpack/lib/action_view/helpers/number_helper.rb
2  actionpack/lib/action_view/helpers/number_helper.rb
@@ -193,7 +193,7 @@ def number_to_percentage(number, options = {})
193 193 # number_with_delimiter(12345678) # => 12,345,678
194 194 # number_with_delimiter(12345678.05) # => 12,345,678.05
195 195 # number_with_delimiter(12345678, :delimiter => ".") # => 12.345.678
196   - # number_with_delimiter(12345678, :separator => ",") # => 12,345,678
  196 + # number_with_delimiter(12345678.05, :separator => " ") # => 12,345,678 05
197 197 # number_with_delimiter(12345678.05, :locale => :fr) # => 12 345 678,05
198 198 # number_with_delimiter(98765432.98, :delimiter => " ", :separator => ",")
199 199 # # => 98 765 432,98

0 comments on commit fe88745

Please sign in to comment.
Something went wrong with that request. Please try again.