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

Step 1:
The number 23 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 23

On to step 2:
The number 23 fits into 15 0 times, leaving a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 15 and we're left with 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 23

On to step 3:
If we divide 158 by 23, we get 6 and a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
The remainder is 20 after subtracting 138 from 158.
Fetch the next digit (2) from the dividend, attach it to 20 and continue: 202 / 23

On to step 4:
202 divided by 23 is 8 with a remainder of 18.
Put 8 as the next digit of the answer. 
Result so far: 68.0
If we subtract 184 from 202, we get 18.
Include the next digit (3) from the dividend after 18, then repeat: 183 / 23

Moving on to step 5:
When dividing 183 by 23, we get 7 with a remainder of 22.
Put 7 as the next digit of the answer. 
Result so far: 687.0
Subtracting 161 from 183 leaves us with 22.
Append the next digit (9) from the dividend to 22 and continue with: 229 / 23

On to step 6:
23 can be fit into 229 9 times, resulting in a remainder of 22.
The number 9 becomes the next digit in our result. 
Result so far: 6879.0
Subtract 207 from 229 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.

Advancing to step 7:
23 can be fit into 220 9 times, resulting in a remainder of 13.
Write down 9 as next digit of the result. 
Result so far: 6879.9
Deduct 207 from 220 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 8:
The number 23 fits into 130 5 times, leaving a remainder of 15.
The next digit of our result is 5. 
Result so far: 6879.95
Subtract 115 from 130 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 9:
When dividing 150 by 23, we get 6 with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 6879.956
Deduct 138 from 150 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 10:
The number 23 fits into 120 5 times, leaving a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 6879.9565
The remainder is 5 after subtracting 115 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 11:
23 can be fit into 50 2 times, resulting in a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 6879.95652
Subtracting 46 from 50 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 12:
When dividing 40 by 23, we get 1 with a remainder of 17.
Use 1 as the next digit of our solution. 
Result so far: 6879.956521
Subtracting 23 from 40 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.

Step 13:
23 goes into 170 7 times with a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 6879.9565217
The remainder is 9 after subtracting 161 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 14:
23 goes into 90 3 times with a remainder of 21.
The next digit of our result is 3. 
Result so far: 6879.95652173
If we subtract 69 from 90, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The final result is 6879.95652173 with a remainder of 2.1e-08.