るりまサーチ

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

別のキーワード

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

ライブラリ

キーワード

検索結果

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

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

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

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

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

BigDecimal#==(other) -> bool (3210.0)

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

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

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

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

BigDecimal#===(other) -> bool (3210.0)

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

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

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

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

BigDecimal#zero? -> bool (3208.0)

self が 0 のときに true を返します。それ以外のときに false を返します。

...self が 0 のときに true を返します。それ以外のときに false を返します。

//emlist[][ruby]{
require
"bigdecimal"
BigDecimal
("0").zero? # => true
BigDecimal
("1").zero? # => false
//}...