We look at the division of 20874231 by 158 
We want to divide 20874231 by 158.

Going ahead to step 1:
158 goes into 2 0 times with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Grab the next digit (0) from the dividend, add it to 2, then carry on: 20 / 158

Going ahead to step 2:
The number 158 fits into 20 0 times, leaving a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 20, we end up with 20.
Fetch the next digit (8) from the dividend, attach it to 20 and continue: 208 / 158

Advancing to step 3:
When dividing 208 by 158, we get 1 with a remainder of 50.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 158 from 208, we get 50.
Append the next digit (7) from the dividend to 50 and continue with: 507 / 158

On to step 4:
If we divide 507 by 158, we get 3 and a remainder of 33.
Use 3 as the next digit of our solution. 
Result so far: 13.0
The remainder is 33 after subtracting 474 from 507.
Fetch the next digit (4) from the dividend, attach it to 33 and continue: 334 / 158

Going ahead to step 5:
The number 158 fits into 334 2 times, leaving a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 132.0
Deduct 316 from 334 and we're left with 18.
Take the next digit (2) from the dividend and append it to 18, then repeat: 182 / 158

Let's proceed to step 6:
182 divided by 158 is 1 with a remainder of 24.
The number 1 becomes the next digit in our result. 
Result so far: 1321.0
The remainder is 24 after subtracting 158 from 182.
Bring next digit (3) of the dividend behind the 24 and repeat the process: 243 / 158

Let's proceed to step 7:
When dividing 243 by 158, we get 1 with a remainder of 85.
Write down 1 as next digit of the result. 
Result so far: 13211.0
Deduct 158 from 243 and we're left with 85.
Append the next digit (1) from the dividend to 85 and continue with: 851 / 158

Moving on to step 8:
851 divided by 158 is 5 with a remainder of 61.
Use 5 as the next digit of our solution. 
Result so far: 132115.0
The remainder is 61 after subtracting 790 from 851.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Going ahead to step 9:
158 goes into 610 3 times with a remainder of 136.
Put 3 as the next digit of the answer. 
Result so far: 132115.3
Subtracting 474 from 610 leaves us with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

On to step 10:
158 can be fit into 1360 8 times, resulting in a remainder of 96.
Use 8 as the next digit of our solution. 
Result so far: 132115.38
If we take 1264 away from 1360, we end up with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Advancing to step 11:
960 divided by 158 is 6 with a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 132115.386
If we subtract 948 from 960, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 12:
The number 158 fits into 120 0 times, leaving a remainder of 120.
Write down 0 as next digit of the result. 
Result so far: 132115.386
Subtracting 0 from 120 leaves us with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Let's proceed to step 13:
The number 158 fits into 1200 7 times, leaving a remainder of 94.
Record the quotient 7 as the next digit in the result. 
Result so far: 132115.38607
If we subtract 1106 from 1200, we get 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

On to step 14:
158 can be fit into 940 5 times, resulting in a remainder of 150.
The next digit of our result is 5. 
Result so far: 132115.386075
If we subtract 790 from 940, we get 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Going ahead to step 15:
158 goes into 1500 9 times with a remainder of 78.
The number 9 becomes the next digit in our result. 
Result so far: 132115.3860759
Subtracting 1422 from 1500 leaves us with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Moving on to step 16:
When dividing 780 by 158, we get 4 with a remainder of 148.
Use 4 as the next digit of our solution. 
Result so far: 132115.38607594
The remainder is 148 after subtracting 632 from 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

After the division, we end up with 132115.38607594 and a remainder of 1.48e-07.