1件ヒット
[1-1件を表示]
(0.040秒)
検索結果
-
Integer
# to _ r -> Rational (81349.0) -
自身を Rational に変換します。
自身を Rational に変換します。
//emlist[][ruby]{
1.to_r # => (1/1)
(1<<64).to_r # => (18446744073709551616/1)
//}