class Integer

def to_d


# => 0.42e2
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