るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.144秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:l[x] > バージョン:2.5.0[x] > クエリ:eql?[x] > クラス:BigDecimal[x]

別のキーワード

  1. kernel $-l
  2. matrix l
  3. _builtin $-l
  4. lupdecomposition l
  5. l

ライブラリ

検索結果

BigDecimal#eql?(other) -> bool (63607.0)

self が other と等しい場合に true を、そうでない場合に false を返します。

...self が other と等しい場合に true を、そうでない場合に false を返します。

それぞれの値は BigDecimal#coerce で変換して比較される場合があります。

//emlist[][ruby]{
require 'bigdecimal'
BigDecimal
('1.0') == 1.0 # => true
//}...