Object
Returns nil represented as a BigDecimal.
BigDecimal
require 'bigdecimal' require 'bigdecimal/util' nil.to_d # => 0.0
# File bigdecimal/lib/bigdecimal/util.rb, line 143 def to_d BigDecimal(0) end
This page was generated for Ruby 2.6.9
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.