[前][次][番号順一覧][スレッド一覧]

ruby-changes:14785

From: akr <ko1@a...>
Date: Thu, 11 Feb 2010 22:59:43 +0900 (JST)
Subject: [ruby-changes:14785] Ruby:r26647 (trunk): fix rdoc.

akr	2010-02-11 22:59:34 +0900 (Thu, 11 Feb 2010)

  New Revision: 26647

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26647

  Log:
    fix rdoc.

  Modified files:
    trunk/numeric.c

Index: numeric.c
===================================================================
--- numeric.c	(revision 26646)
+++ numeric.c	(revision 26647)
@@ -1370,7 +1370,7 @@
  *
  *  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
- *  is more than one.
+ *  is more than zero.
  *
  *     1.4.round      #=> 1
  *     1.5.round      #=> 2
@@ -1502,7 +1502,7 @@
  *
  *  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
- *  is more than one.  <code>Numeric</code> implements this by converting itself
+ *  is more than zero.  <code>Numeric</code> implements this by converting itself
  *  to a <code>Float</code> and invoking <code>Float#round</code>.
  */
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]