2件ヒット
[1-2件を表示]
(0.130秒)
ライブラリ
- ビルトイン (2)
検索結果
-
Integer
# denominator -> Integer (54697.0) -
分母(常に1)を返します。
...分母(常に1)を返します。
@return 分母を返します。
//emlist[][ruby]{
10.denominator # => 1
-10.denominator # => 1
//}
@see Integer#numerator... -
Integer
# numerator -> Integer (394.0) -
分子(常に自身)を返します。
...分子(常に自身)を返します。
@return 分子を返します。
//emlist[][ruby]{
10.numerator # => 10
-10.numerator # => -10
//}
@see Integer#denominator...