Float
module methods:
value methods:
:
Returns 0.0.
(Float :) -> float
+
Returns Float+others.
(Float + others(numeric)...) -> float
-
Returns Float-others.
(Float - others(numeric)...) -> float
*
Returns Float*others.
(Float * others(numeric)...) -> float
/
Returns Float/others. It Returnss an error, if any.
(Float / others(numeric)...) -> float
**
Returns Float**y, the base-Float exponential of y.
(Float ** y(numeric)...) -> float
>
Returns Float>i. i will first be converted to numeric.
(Float > i(any)) -> bool
>=
Returns Float>=i. i will first be converted to numeric.
(Float >= i(any)) -> bool
<
Returns Float<i. i will first be converted to numeric.
(Float < i(any)) -> bool
<=
Returns Float<=i. i will first be converted to numeric.
(Float <= i(any)) -> bool
abs
Returns the absolute value of Float.
(Float abs) -> float
negate
Returns the inverse of Float.
(Float negate) -> float
to_f
Returns Float self.
(Float to_f) -> float
to_i
Transfer to Int
(Float to_i) -> int