Flowdock
to_d() public

Convert string to a BigDecimal and return it.

require 'bigdecimal'
require 'bigdecimal/util'

"0.5".to_d
# => #<BigDecimal:1dc69e0,'0.5E0',9(18)>
Show source
Register or log in to add new notes.