previous | start | next

Answers

  1. int and double
  2. When the fractional part of x is ≥ 0.5
  3. By using a cast: (int) Math.round(x)


previous | start | next