Java Reference
In-Depth Information
random()
—The
random
Function
random(
value
)
Returns a random integer value between 0 and the designated
value
.
seed()
—The
seed
Function
seed(
value
)
Initializes the random number generator sequence with a seed value.
Float
Library
The
Float
library contains a set of typical arithmetic floating-point functions that are fre-
quently used by applications. The
Float
library is optional and is only supported on those
clients with floating-point capabilities.
ceil()
—The
ceil
Function
ceil(
value
)
Analyzes the designated
value
and returns the smallest integer value that is greater than or
equal to the designated
value
.
floor()
—The
floor
Function
floor(
value
)
Analyzes the designated
value
and returns the greatest integer value that is less than or equal
to the designated
value
.
int()
—The
int
Function
int(
value
)
Returns the integer value of a designated
value
.
maxFloat()
—The
maxFloat
Function
maxFloat()
Returns the maximum floating-point value supported by [IEEEE754] single-precision, floating-
point format.