class Float

this are some extension to standard types

Public Instance Methods

near(f) click to toggle source
# File lib/rgw/types.rb, line 25
def near f
    self * 1.000000001 > f and self * 0.999999999 < f
end