diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-24 22:57:42 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-24 22:57:42 +0000 |
commit | ee0d942ed9af59cefd7717ae456d76ebc5d2f6ee (patch) | |
tree | b98a1377d3595c4732bf174012fbec250c01ae72 /numeric.c | |
parent | beb26e1b491f8d9fd20a2d944f036100cd1abac3 (diff) | |
download | ruby-ee0d942ed9af59cefd7717ae456d76ebc5d2f6ee.tar.gz |
* numeric.c: Rdoc fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1602,7 +1602,7 @@ num_ceil(VALUE num) * num.round([ndigits]) -> integer or float * * Rounds <i>num</i> 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 <i>ndigits</i> * is more than zero. <code>Numeric</code> implements this by converting itself * to a <code>Float</code> and invoking <code>Float#round</code>. */ @@ -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 <i>int</i> is already an <code>Integer</code>, 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 <i>flt</i> to a given precision in decimal digits (default 0 digits). * Precision may be negative. Returns a floating point number when +ndigits+ |