From: S. Robert James [mailto:srobertjames / gmail.com] 
> I'd like to be able to do:
> 
> x = 2.0
> assert x.integral?

class Numeric
  def integral?
    round == self
  end
end