summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/lib
diff options
context:
space:
mode:
authorshigek <shigek@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-08 15:31:53 +0000
committershigek <shigek@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-08 15:31:53 +0000
commit9cfc06d9ae74ff8680f5615740a4932526b98f2e (patch)
treef92f47c9cce66929c449ee564f923e36d0cf2191 /ext/bigdecimal/lib
parent606c473683f53af6be614bec8fdb5c7a7d0e974d (diff)
Comment changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/lib')
-rw-r--r--ext/bigdecimal/lib/bigdecimal/util.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/util.rb b/ext/bigdecimal/lib/bigdecimal/util.rb
index 3340d53..90b0cbd 100644
--- a/ext/bigdecimal/lib/bigdecimal/util.rb
+++ b/ext/bigdecimal/lib/bigdecimal/util.rb
@@ -10,7 +10,6 @@
# to_d ... to BigDecimal
#
# BigDecimal#
-# to_digits ... to xxxxx.yyyy form digit string(not 0.zzzE?? form).
# to_r ... to Rational
#
# Rational#
@@ -32,6 +31,7 @@ end
class BigDecimal < Numeric
# to "nnnnnn.mmm" form digit string
+ # Use BigDecimal#to_s("F") instead.
def to_digits
if self.nan? || self.infinite? || self.zero?
self.to_s