I have two variables:

```
double d1 = 15.20;
 int i1 = 10;

```

I want to divide i1 by 100 so I can get 0.1 and then I want to add in d1.

Here are the things I tried

`i1 = i1/100 result is 0`

`i1 = (int) ((double)i1/100); result is 0`

I tried a couple of more same kind of thing but either I am getting result 0 or 2.

Can anybody please show me how to do the operation with casting w.r.t double and int. I am very new in java