Let's divide 386778 by 23
We want to divide 386778 by 23.

Going ahead to step 1:
23 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 23

Advancing to step 2:
23 can be fit into 38 1 times, resulting in a remainder of 15.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 23 from 38 leaves us with 15.
Bring next digit (6) of the dividend behind the 15 and repeat the process: 156 / 23

On to step 3:
23 goes into 156 6 times with a remainder of 18.
Put 6 as the next digit of the answer. 
Result so far: 16.0
Subtracting 138 from 156 leaves us with 18.
Grab the next digit (7) from the dividend, add it to 18, then carry on: 187 / 23

On to step 4:
23 can be fit into 187 8 times, resulting in a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 168.0
The remainder is 3 after subtracting 184 from 187.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 23

Step 5:
When dividing 37 by 23, we get 1 with a remainder of 14.
Put 1 as the next digit of the answer. 
Result so far: 1681.0
The remainder is 14 after subtracting 23 from 37.
Bring next digit (8) of the dividend behind the 14 and repeat the process: 148 / 23

On to step 6:
148 divided by 23 is 6 with a remainder of 10.
Put 6 as the next digit of the answer. 
Result so far: 16816.0
The remainder is 10 after subtracting 138 from 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 7:
23 goes into 100 4 times with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 16816.4
Deduct 92 from 100 and we're left 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.

Advancing to step 8:
23 can be fit into 80 3 times, resulting in a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 16816.43
Deduct 69 from 80 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 9:
The number 23 fits into 110 4 times, leaving a remainder of 18.
The number 4 becomes the next digit in our result. 
Result so far: 16816.434
Deduct 92 from 110 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 10:
23 can be fit into 180 7 times, resulting in a remainder of 19.
Record the quotient 7 as the next digit in the result. 
Result so far: 16816.4347
Subtract 161 from 180 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 11:
When dividing 190 by 23, we get 8 with a remainder of 6.
The next digit of our result is 8. 
Result so far: 16816.43478
Deduct 184 from 190 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 12:
23 can be fit into 60 2 times, resulting in a remainder of 14.
Record the quotient 2 as the next digit in the result. 
Result so far: 16816.434782
Deduct 46 from 60 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 13:
The number 23 fits into 140 6 times, leaving a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 16816.4347826
Subtract 138 from 140 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 14:
When dividing 20 by 23, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 16816.4347826
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final outcome is 16816.4347826, with a leftover of 2e-08.