For the
SCJP exam I think it is important to recognize the next things
double Math.floor(double a): receives a double and returns a double double Math.ceil(double a) : receives a double and returns a double int Math.round(float a): receives a float returns a integer long Math.round(double a): receives a double returns a long It is important to recognize that in the next output
Now, rouund might behave different for positive and negative numbers.
However:
Be careful with that, because that is a probable question in the exam.