るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.005秒)
トップページ > クラス:Float[x] > クエリ:>=[x]

別のキーワード

  1. _builtin >=
  2. bigdecimal >=
  3. float >=
  4. module >=
  5. complex >=

ライブラリ

検索結果

Float#>=(other) -> bool (18107.0)

比較演算子。数値として等しいまたは大きいか判定します。

...ram other 比較対象の数値
@return self よりも other の方が小さい場合か、
両者が等しい場合 true を返します。
そうでなければ false を返します。

//emlist[例][ruby]{
3.14 > 3.1415 # => false
3.14 >= 3.1415 # => false
//}...

Float#>(other) -> bool (7.0)

比較演算子。数値として大きいか判定します。

...として大きいか判定します。

@param other 比較対象の数値
@return self よりも other の方が小さい場合 true を返します。
そうでなければ false を返します。

//emlist[例][ruby]{
3.14 > 3.1415 # => false
3.14 >= 3.1415 # => false
//}...