Flowdock
method

to_d

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Integer
to_d() public

Convert int to a BigDecimal and return it.

require 'bigdecimal'
require 'bigdecimal/util'

42.to_d
# => #<BigDecimal:1008ef070,'0.42E2',9(36)>
Show source
Register or log in to add new notes.