るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

検索結果

Integer#denominator -> Integer (18221.0)

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

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

@return 分母を返します。

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

@see Integer#numerator...

Integer#numerator -> Integer (120.0)

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

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

@return 分子を返します。

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

@see Integer#denominator...