Class: Integer

Inherits:
Object show all
Defined in:
lib/ruby/to_d.rb

Instance Method Summary collapse

Instance Method Details

#to_d



45
46
47
# File 'lib/ruby/to_d.rb', line 45

def to_d
  BigDecimal(to_s)
end