Object
Returns nil represented as a BigDecimal.
require 'bigdecimal' require 'bigdecimal/util' nil.to_d # => 0.0
# File bigdecimal/lib/bigdecimal/util.rb, line 145 def to_d BigDecimal(0) end
This page was generated for Ruby 2.7.2
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.44.2.