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

On to step 1:
If we divide 3 by 87, we get 0 and 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.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 87

Moving on to step 2:
When dividing 34 by 87, we get 0 with a remainder of 34.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 34 and we're left with 34.
Take the next digit (9) from the dividend and append it to 34, then repeat: 349 / 87

Moving on to step 3:
349 divided by 87 is 4 with a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we take 348 away from 349, we end up with 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 87

Advancing to step 4:
87 can be fit into 10 0 times, resulting in a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 40.0
Deduct 0 from 10 and we're left with 10.
Include the next digit (9) from the dividend after 10, then repeat: 109 / 87

Moving on to step 5:
The number 87 fits into 109 1 times, leaving a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 401.0
Subtract 87 from 109 to get 22.
Include the next digit (7) from the dividend after 22, then repeat: 227 / 87

Going ahead to step 6:
When dividing 227 by 87, we get 2 with a remainder of 53.
Use 2 as the next digit of our solution. 
Result so far: 4012.0
Subtracting 174 from 227 leaves us with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Advancing to step 7:
87 goes into 530 6 times with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 4012.6
If we take 522 away from 530, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 8:
87 can be fit into 80 0 times, resulting in a remainder of 80.
Record the quotient 0 as the next digit in the result. 
Result so far: 4012.6
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 9:
The number 87 fits into 800 9 times, leaving a remainder of 17.
The next digit of our result is 9. 
Result so far: 4012.609
Subtracting 783 from 800 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 10:
The number 87 fits into 170 1 times, leaving a remainder of 83.
Use 1 as the next digit of our solution. 
Result so far: 4012.6091
If we take 87 away from 170, we end up with 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Advancing to step 11:
If we divide 830 by 87, we get 9 and a remainder of 47.
Put 9 as the next digit of the answer. 
Result so far: 4012.60919
Subtract 783 from 830 to get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Let's proceed to step 12:
When dividing 470 by 87, we get 5 with a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 4012.609195
If we take 435 away from 470, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 13:
When dividing 350 by 87, we get 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 4012.6091954
The remainder is 2 after subtracting 348 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 14:
87 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 4012.6091954
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.

After the division, we end up with 4012.6091954 and a remainder of 2e-08.