From 9cfc06d9ae74ff8680f5615740a4932526b98f2e Mon Sep 17 00:00:00 2001 From: shigek Date: Fri, 8 Aug 2003 15:31:53 +0000 Subject: Comment changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/bigdecimal/lib/bigdecimal/util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/bigdecimal/lib/bigdecimal') diff --git a/ext/bigdecimal/lib/bigdecimal/util.rb b/ext/bigdecimal/lib/bigdecimal/util.rb index 3340d53550..90b0cbd0b8 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 -- cgit v1.2.3