class Integer

be available on Integer objects.
When you require the BigDecimal library in your application, this methodwill
BigDecimal extends the native Integer class to provide the #to_d method.

def to_d


# => #
42.to_d

require 'bigdecimal/util'
require 'bigdecimal'

Convert +int+ to a BigDecimal and return it.

int.to_d -> bigdecimal
call-seq:
def to_d
  BigDecimal(self)
end