num.eql?(numeric) â true or false
Instance Public methods
Returns true
if num and numeric are the same
type and have equal values.
1 == 1.0 #=> true 1.eql?(1.0) #=> false (1.0).eql?(1.0) #=> true
Returns true
if num and numeric are the same
type and have equal values.
1 == 1.0 #=> true 1.eql?(1.0) #=> false (1.0).eql?(1.0) #=> true
Please login to continue.