method

to_d

Importance_1
v2_6_3 - Show latest stable - 0 notes - Class: BigDecimal
to_d() public

Returns self.

require 'bigdecimal/util'

d = BigDecimal("3.14")
d.to_d                       # => 0.314e1
Show source
Register or log in to add new notes.