method

zero?

ruby latest stable - Class: Float
zero?()
public

Returns true if float is 0.0.