copy-edits 532b770

This commit is contained in:
Xavier Noria 2011-03-09 18:43:55 +01:00
parent 532b77077f
commit 32b5c4b77a

@ -1818,7 +1818,7 @@ h3. Extensions to +Float+
h4. +round+ 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> <ruby>
Math::E.round(4) # => 2.7183 Math::E.round(4) # => 2.7183