diff options
| author | shigek <shigek@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-08 15:31:53 +0000 |
|---|---|---|
| committer | shigek <shigek@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-08 15:31:53 +0000 |
| commit | 7c2d4eedc8990af1d82143c6332eed06c9a78601 (patch) | |
| tree | f92f47c9cce66929c449ee564f923e36d0cf2191 /ext/bigdecimal | |
| parent | 21cb2752217392438bd684a825c2a45ac3fc044e (diff) | |
| download | ruby-7c2d4eedc8990af1d82143c6332eed06c9a78601.tar.gz ruby-7c2d4eedc8990af1d82143c6332eed06c9a78601.tar.xz ruby-7c2d4eedc8990af1d82143c6332eed06c9a78601.zip | |
Comment changed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal')
| -rw-r--r-- | ext/bigdecimal/lib/bigdecimal/util.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/util.rb b/ext/bigdecimal/lib/bigdecimal/util.rb index 3340d5355..90b0cbd0b 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 |
