APIdock
/
Ruby
/
Browse
About
method
inspect
v2_6_3
-
Show latest stable
- Class:
Float
inspect
()
public
Alias
for
Float#to_s
Related methods
Instance methods
%
*
**
+
-
-@
/
<
<=
<=>
==
===
>
>=
abs
angle
arg
ceil
coerce
dclone
denominator
divmod
eql?
fdiv
finite?
floor
hash
infinite?
inspect
magnitude
modulo
nan?
negative?
next_float
numerator
phase
positive?
prev_float
quo
rationalize
round
to_d
to_f
to_i
to_int
to_r
to_s
truncate
zero?