flt == obj รข true or false
Instance Public methods
Returns true
only if obj has the same value as
flt. Contrast this with Float#eql?
, which requires
obj to be a Float
. The result of NaN ==
NaN
is undefined, so the implementation-dependent value is returned.
1.0 == 1 #=> true
Please login to continue.