We're dividing 331646 by 87 
Let's see how many times 87 fits into 331646.

Step 1:
The number 87 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 87

Advancing to step 2:
87 goes into 33 0 times with a remainder of 33.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 33 and we're left with 33.
Take the next digit (1) from the dividend and append it to 33, then repeat: 331 / 87

Advancing to step 3:
331 divided by 87 is 3 with a remainder of 70.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 261 from 331, we get 70.
Fetch the next digit (6) from the dividend, attach it to 70 and continue: 706 / 87

Going ahead to step 4:
When dividing 706 by 87, we get 8 with a remainder of 10.
Record the quotient 8 as the next digit in the result. 
Result so far: 38.0
If we subtract 696 from 706, we get 10.
Take the next digit (4) from the dividend and append it to 10, then repeat: 104 / 87

Let's proceed to step 5:
When dividing 104 by 87, we get 1 with a remainder of 17.
Put 1 as the next digit of the answer. 
Result so far: 381.0
Subtract 87 from 104 to get 17.
Fetch the next digit (6) from the dividend, attach it to 17 and continue: 176 / 87

Moving on to step 6:
176 divided by 87 is 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 3812.0
Subtracting 174 from 176 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 7:
87 goes into 20 0 times with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 3812.0
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
When dividing 200 by 87, we get 2 with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 3812.02
The remainder is 26 after subtracting 174 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 9:
When dividing 260 by 87, we get 2 with a remainder of 86.
Put 2 as the next digit of the answer. 
Result so far: 3812.022
If we subtract 174 from 260, we get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

The final outcome is 3812.022, with a leftover of 0.0086.