Question: ```
int total = (int) Math.ceil(157/32);

```

Why does it still return 4? `157/32 = 4.90625`, I need to round up, I've looked around and this seems to be the right method.

I tried `total` as `double` type, but get 4.0.

What am I doing wrong?

Answer: 
157/32 is `int/int`, which results in an `int`.

Try using the double literal - `157/32d`, which is `int/double`, which results in a `double`.
Check the solution below for your question:

```
int total = (int) Math.ceil(157/32);

```

Here you should multiply Numerator with 1.0, then it will give your answer.

```
int total = (int) Math.ceil(157*1.0/32);

```