# File lib/facet/float/approx%3F.rb, line 8 def approx?( x, n=0.01 ) return(self == x) if n == 0 self.round_to(n) == x.to_f.round_to(n) end