diff options
author | Marcel Molina <marcel@vernix.org> | 2005-10-12 03:43:28 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2005-10-12 03:43:28 +0000 |
commit | 7aa1ba7ff0f156ab726ff838957eeb2804d2df54 (patch) | |
tree | f7801401a22b0fd01bb1bf858dfdda6f518e4021 /actionpack/lib/action_view/helpers/number_helper.rb | |
parent | 6823f57b27b61e4b38154fc750189fb84ebe3b02 (diff) | |
download | rails-7aa1ba7ff0f156ab726ff838957eeb2804d2df54.tar.gz rails-7aa1ba7ff0f156ab726ff838957eeb2804d2df54.tar.bz2 rails-7aa1ba7ff0f156ab726ff838957eeb2804d2df54.zip |
Misc doc fixes (typos/grammar/etc). Closes #2445.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2537 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/number_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/number_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb index 6c66616e1a..e06eb14f7f 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -4,8 +4,8 @@ module ActionView # one of the following forms: phone number, percentage, money, or precision level. module NumberHelper - # Formats a +number+ into a US phone number string. The +options+ can be hash used to customize the format of the output. - # The area code can be surrounded by parenthesis by setting +:area_code+ to true; default is false + # Formats a +number+ into a US phone number string. The +options+ can be a hash used to customize the format of the output. + # The area code can be surrounded by parentheses by setting +:area_code+ to true; default is false # The delimiter can be set using +:delimiter+; default is "-" # Examples: # number_to_phone(1235551234) => 123-555-1234 @@ -25,7 +25,7 @@ module ActionView end end - # Formates a +number+ into a currency string. The +options+ hash can be used to customize the format of the output. + # Formats a +number+ into a currency string. The +options+ hash can be used to customize the format of the output. # The +number+ can contain a level of precision using the +precision+ key; default is 2 # The currency type can be set using the +unit+ key; default is "$" # The unit separator can be set using the +separator+ key; default is "." |