Float
ClassObjects of Float
class represent double precision, floating
point numbers.
value
The value is the formatted representation of a double precision floating point number.
&&
(double
d)
Return an Integer
that evaluates to TRUE
if both operands are
TRUE,
FALSE
otherwise.
=
(double
d)
Set the value of the receiver object to d.
+
(double
d)
Add d to the receiver.
+=
(double
d)
Add d to the receiver’s value. Set the receiver to the new value, and return the receiver.
-
(void
)
-
(double
d)
Subtract d from the receiver. When used as a prefix operator, negate the receiver.
-=
(double
d)
Subtract d from the receiver’s value. Set the receiver to the new value, and return the receiver.
*
(double
d)
Multiply the receiver by d.
*=
(double
d)
Multiply d by the receiver’s value. Set the receiver to the new value, and return the receiver.
*
(double
d)
Divide the receiver by d.
/=
(double
d)
Divide d by the receiver’s value. Set the receiver to the new value, and return the receiver.
<
(double
d)
Return an Integer
that evaluates to TRUE
if the receiver is
less than the argument, FALSE
otherwise.
<=
(double
d)
Return an Integer
that evaluates to TRUE
if the receiver is
less than or equal to the argument, FALSE
otherwise.
>
(double
d)
Return an Integer
that evaluates to TRUE
if the receiver is
greater than the argument, FALSE
otherwise.
>=
(double
d)
Return an Integer
that evaluates to TRUE
if the receiver is
greater than or equal to the argument, FALSE
otherwise.
asInteger
(void
)
Return the integer portion of the receiver.
||
(double
d)
Return an Integer
that evaluates to TRUE
if either operand is
TRUE,
FALSE
otherwise.