From 44c7507657e2aed924749f3a3cdb527c845a048f Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Sat, 2 Jul 2016 02:42:43 -0700 Subject: Fix number_with_precision documentation for precision [ci skip] --- guides/source/action_view_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') 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 -- cgit v1.2.3