Skip to content
instance method

Float#negative?

() -> bool
negative? → true or false

Returns true if self is less than 0, false otherwise.

See also #nan? #next_float #modulo #numerator also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0