We're dividing 312098 by 87 
Our goal is to divide 312098 by 87.

On to step 1:
3 divided by 87 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 87

Let's proceed to step 2:
The number 87 fits into 31 0 times, leaving a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Grab the next digit (2) from the dividend, add it to 31, then carry on: 312 / 87

Advancing to step 3:
87 can be fit into 312 3 times, resulting in a remainder of 51.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtract 261 from 312 to get 51.
Bring next digit (0) of the dividend behind the 51 and repeat the process: 510 / 87

Advancing to step 4:
87 can be fit into 510 5 times, resulting in a remainder of 75.
The next digit of our result is 5. 
Result so far: 35.0
Deduct 435 from 510 and we're left with 75.
Bring next digit (9) of the dividend behind the 75 and repeat the process: 759 / 87

Moving on to step 5:
87 goes into 759 8 times with a remainder of 63.
The number 8 becomes the next digit in our result. 
Result so far: 358.0
The remainder is 63 after subtracting 696 from 759.
Grab the next digit (8) from the dividend, add it to 63, then carry on: 638 / 87

Let's proceed to step 6:
If we divide 638 by 87, we get 7 and a remainder of 29.
The next digit of our result is 7. 
Result so far: 3587.0
If we take 609 away from 638, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 7:
The number 87 fits into 290 3 times, leaving a remainder of 29.
Put 3 as the next digit of the answer. 
Result so far: 3587.3
If we subtract 261 from 290, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 8:
When dividing 290 by 87, we get 3 with a remainder of 29.
Write down 3 as next digit of the result. 
Result so far: 3587.33
Deduct 261 from 290 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Our division results in 3587.33 with a remaining 0.029.