BigDecimal utility library.


Contents:

  String#
    to_d      ... to BigDecimal

  Float#
    to_d      ... to BigDecimal

  BigDecimal#
    to_r      ... to Rational

  Rational#
    to_d      ... to BigDecimal

Methods

to_d  

Public Instance methods

[Source]

    # File bigdecimal/util.rb, line 21
21:   def to_d
22:     BigDecimal(self.to_s)
23:   end

Search

Google

Ruby API Docs

Links