previous
|
start
|
next
Answers
int
and
double
When the fractional part of
x
is ≥ 0.5
By using a cast:
(int) Math.round(x)
previous
|
start
|
next