APIdock
/
Ruby
/
Browse
About
method
to_d
v2_1_10
-
Show latest stable
- Class:
BigDecimal
to_d
()
public
Returns self.
Show source
# File ext/bigdecimal/lib/bigdecimal/util.rb, line 96 def to_d self end
Related methods
Instance methods
%
*
**
+
+@
-
-@
/
<
<=
<=>
==
===
>
>=
_dump
abs
add
as_json
ceil
coerce
div
divmod
eql?
exponent
finite?
fix
floor
frac
hash
infinite?
initialize_copy
inspect
modulo
mult
nan?
nonzero?
power
precs
quo
remainder
round
sign
split
sqrt
sub
to_d
to_digits
to_f
to_i
to_int
to_json
to_r
to_s
truncate
zero?
Class methods
_load
double_fig
json_create
limit
mode
new
save_exception_mode
save_limit
save_rounding_mode
ver