Let's divide 345862 by 87
We want to divide 345862 by 87.

Let's proceed to step 1:
87 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 87

Going ahead to step 2:
If we divide 34 by 87, we get 0 and a remainder of 34.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 34, we get 34.
Bring next digit (5) of the dividend behind the 34 and repeat the process: 345 / 87

Let's proceed to step 3:
87 goes into 345 3 times with a remainder of 84.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
The remainder is 84 after subtracting 261 from 345.
Include the next digit (8) from the dividend after 84, then repeat: 848 / 87

On to step 4:
If we divide 848 by 87, we get 9 and a remainder of 65.
The next digit of our result is 9. 
Result so far: 39.0
The remainder is 65 after subtracting 783 from 848.
Take the next digit (6) from the dividend and append it to 65, then repeat: 656 / 87

Going ahead to step 5:
87 goes into 656 7 times with a remainder of 47.
Use 7 as the next digit of our solution. 
Result so far: 397.0
Deduct 609 from 656 and we're left with 47.
Include the next digit (2) from the dividend after 47, then repeat: 472 / 87

Let's proceed to step 6:
The number 87 fits into 472 5 times, leaving a remainder of 37.
The next digit of our result is 5. 
Result so far: 3975.0
Deduct 435 from 472 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 7:
87 can be fit into 370 4 times, resulting in a remainder of 22.
Record the quotient 4 as the next digit in the result. 
Result so far: 3975.4
Subtract 348 from 370 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 8:
The number 87 fits into 220 2 times, leaving a remainder of 46.
Write down 2 as next digit of the result. 
Result so far: 3975.42
Subtract 174 from 220 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 9:
87 goes into 460 5 times with a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 3975.425
If we subtract 435 from 460, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 10:
250 divided by 87 is 2 with a remainder of 76.
The number 2 becomes the next digit in our result. 
Result so far: 3975.4252
The remainder is 76 after subtracting 174 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

On to step 11:
87 can be fit into 760 8 times, resulting in a remainder of 64.
Record the quotient 8 as the next digit in the result. 
Result so far: 3975.42528
If we take 696 away from 760, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 12:
87 can be fit into 640 7 times, resulting in a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 3975.425287
If we take 609 away from 640, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 13:
87 can be fit into 310 3 times, resulting in a remainder of 49.
The next digit of our result is 3. 
Result so far: 3975.4252873
If we subtract 261 from 310, we get 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Advancing to step 14:
If we divide 490 by 87, we get 5 and a remainder of 55.
Record the quotient 5 as the next digit in the result. 
Result so far: 3975.42528735
If we take 435 away from 490, we end up with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

The final result is 3975.42528735 with a remainder of 5.5e-08.