From ee0d942ed9af59cefd7717ae456d76ebc5d2f6ee Mon Sep 17 00:00:00 2001 From: marcandre Date: Wed, 24 Aug 2011 22:57:42 +0000 Subject: [PATCH] * numeric.c: Rdoc fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- numeric.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/numeric.c b/numeric.c index 46b2e8cf17..4238e0b2ad 100644 --- a/numeric.c +++ b/numeric.c @@ -1602,7 +1602,7 @@ num_ceil(VALUE num) * num.round([ndigits]) -> integer or float * * Rounds num to a given precision in decimal digits (default 0 digits). - * Precision may be negative. Returns a floating point number when ndigits + * Precision may be negative. Returns a floating point number when ndigits * is more than zero. Numeric implements this by converting itself * to a Float and invoking Float#round. */ @@ -2031,7 +2031,6 @@ rb_num2ull(VALUE val) * int.to_int -> integer * int.floor -> integer * int.ceil -> integer - * int.round -> integer * int.truncate -> integer * * As int is already an Integer, all these @@ -3283,7 +3282,7 @@ int_dotimes(VALUE num) /* * call-seq: - * num.round([ndigits]) -> integer or float + * int.round([ndigits]) -> integer or float * * Rounds flt to a given precision in decimal digits (default 0 digits). * Precision may be negative. Returns a floating point number when +ndigits+