るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.131秒)
トップページ > クエリ:t[x] > クエリ:@[x] > 種類:インスタンスメソッド[x] > クラス:Integer[x] > クエリ:denominator[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. t61string new
  4. matrix t
  5. fiddle align_size_t

ライブラリ

検索結果

Integer#denominator -> Integer (24227.0)

分母(常に1)を返します。

...分母(常に1)を返します。

@
return 分母を返します。

//emlist[][ruby]{
10.denominator # => 1
-10.denominator # => 1
//}

@
see Integer#numerator...

Integer#numerator -> Integer (6120.0)

分子(常に自身)を返します。

...分子(常に自身)を返します。

@
return 分子を返します。

//emlist[][ruby]{
10.numerator # => 10
-10.numerator # => -10
//}

@
see Integer#denominator...