diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-07-02 02:42:43 -0700 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-07-02 02:42:43 -0700 |
commit | 44c7507657e2aed924749f3a3cdb527c845a048f (patch) | |
tree | d4a926d64da7cd8baa9ec3aa88b43e9e5d6baacd /guides/source | |
parent | 683614009024b0bc36c68826e9fabc1857a27e8a (diff) | |
download | rails-44c7507657e2aed924749f3a3cdb527c845a048f.tar.gz rails-44c7507657e2aed924749f3a3cdb527c845a048f.tar.bz2 rails-44c7507657e2aed924749f3a3cdb527c845a048f.zip |
Fix number_with_precision documentation for precision [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/action_view_overview.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md index f68abbae3c..28931e70d1 100644 --- a/guides/source/action_view_overview.md +++ b/guides/source/action_view_overview.md @@ -1439,7 +1439,7 @@ Formats a number with the specified level of `precision`, which defaults to 3. ```ruby number_with_precision(111.2345) # => 111.235 -number_with_precision(111.2345, 2) # => 111.23 +number_with_precision(111.2345, number_with_precision: 2) # => 111.23 ``` ### SanitizeHelper |