Flowdock
method

to_d

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

Returns the value of int as a BigDecimal.

require 'bigdecimal'
require 'bigdecimal/util'

42.to_d   # => 0.42e2

See also BigDecimal::new.

Show source
Register or log in to add new notes.