
|
前
-
上
-
次
-
目次
-
Float
-
浮動小数点数のクラス.
-
スーパークラス:
-
-
Numeric
-
インクルードしているモジュール:
-
-
Precision
-
クラスメソッド:
-
-
induced_from(num)
-
num を Float に変換した結果を返します.
-
メソッド:
-
self + other
-
self - other
-
self * other
-
self / other
-
self % other
-
self ** other
-
算術演算子.
self == other
-
self < other
-
self <= other
-
self > other
-
self >= other
-
比較演算子.
-
ceil
-
self より大きい最小の整数を返します.
-
floor
-
self より小さい最大の整数を返します.
-
round
-
self にもっとも近い整数を返します.
-
to_f
-
レシーバをそのまま返します(変換の必要がないので).
-
to_i
-
値を整数に変換します.
前
-
上
-
次
-
目次
matz@netlab.co.jp
|