Let's divide 158367 by 87
We're looking to find how many times 87 goes into 158367.

Going ahead to step 1:
87 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 87

Moving on to step 2:
The number 87 fits into 15 0 times, leaving a remainder of 15.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 15 and we're left with 15.
Take the next digit (8) from the dividend and append it to 15, then repeat: 158 / 87

Going ahead to step 3:
When dividing 158 by 87, we get 1 with a remainder of 71.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 71 after subtracting 87 from 158.
Bring next digit (3) of the dividend behind the 71 and repeat the process: 713 / 87

On to step 4:
87 can be fit into 713 8 times, resulting in a remainder of 17.
Put 8 as the next digit of the answer. 
Result so far: 18.0
If we take 696 away from 713, we end up with 17.
Grab the next digit (6) from the dividend, add it to 17, then carry on: 176 / 87

On to step 5:
When dividing 176 by 87, we get 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 182.0
Subtract 174 from 176 to get 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 87

Advancing to step 6:
When dividing 27 by 87, we get 0 with a remainder of 27.
Put 0 as the next digit of the answer. 
Result so far: 1820.0
Subtracting 0 from 27 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 7:
87 goes into 270 3 times with a remainder of 9.
Use 3 as the next digit of our solution. 
Result so far: 1820.3
Subtracting 261 from 270 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 8:
If we divide 90 by 87, we get 1 and a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1820.31
The remainder is 3 after subtracting 87 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 9:
30 divided by 87 is 0 with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 1820.31
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 10:
87 can be fit into 300 3 times, resulting in a remainder of 39.
Put 3 as the next digit of the answer. 
Result so far: 1820.3103
If we take 261 away from 300, we end up with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Moving on to step 11:
390 divided by 87 is 4 with a remainder of 42.
Record the quotient 4 as the next digit in the result. 
Result so far: 1820.31034
If we take 348 away from 390, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 12:
87 can be fit into 420 4 times, resulting in a remainder of 72.
The number 4 becomes the next digit in our result. 
Result so far: 1820.310344
Subtract 348 from 420 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

After the division, we end up with 1820.310344 and a remainder of 7.2e-06.