Permalink
Browse files

copy-edits 532b770

  • Loading branch information...
1 parent 532b770 commit 32b5c4b77a880b8a10c20402477a392f1465d0c9 @fxn fxn committed Mar 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/active_support_core_extensions.textile
@@ -1818,7 +1818,7 @@ h3. Extensions to +Float+
h4. +round+
-The built-in method +Float#round+ rounds a float to the nearest integer. In Ruby 1.9 this method takes optional parameter to let you specify a precision. Active Support adds that functionality to +round+ in previous versions of Ruby:
+The built-in method +Float#round+ rounds a float to the nearest integer. In Ruby 1.9 this method takes an optional argument to let you specify a precision. Active Support adds that functionality to +round+ in previous versions of Ruby:
<ruby>
Math::E.round(4) # => 2.7183

0 comments on commit 32b5c4b

Please sign in to comment.