るりまサーチ (Ruby 2.4.0)

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

別のキーワード

  1. _builtin at
  2. _builtin values_at
  3. time at
  4. dbm values_at
  5. sdbm values_at

ライブラリ

検索結果

Integer#denominator -> Integer (91246.0)

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

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

@return 分母を返します。

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

@see Integer#numerator...

Integer#numerator -> Integer (36625.0)

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

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

@return 分子を返します。

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

@see Integer#denominator...