We're dividing 396870 by 23 
We're looking to find how many times 23 goes into 396870.

Advancing to step 1:
When dividing 3 by 23, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 23

Let's proceed to step 2:
23 goes into 39 1 times with a remainder of 16.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 16 after subtracting 23 from 39.
Grab the next digit (6) from the dividend, add it to 16, then carry on: 166 / 23

Step 3:
When dividing 166 by 23, we get 7 with a remainder of 5.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Subtracting 161 from 166 leaves us with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 23

Moving on to step 4:
The number 23 fits into 58 2 times, leaving a remainder of 12.
The next digit of our result is 2. 
Result so far: 172.0
If we take 46 away from 58, we end up with 12.
Fetch the next digit (7) from the dividend, attach it to 12 and continue: 127 / 23

Going ahead to step 5:
If we divide 127 by 23, we get 5 and a remainder of 12.
The next digit of our result is 5. 
Result so far: 1725.0
If we subtract 115 from 127, we get 12.
Fetch the next digit (0) from the dividend, attach it to 12 and continue: 120 / 23

Step 6:
120 divided by 23 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 17255.0
Subtract 115 from 120 to get 5.
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 7:
When dividing 50 by 23, we get 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 17255.2
The remainder is 4 after subtracting 46 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
23 goes into 40 1 times with a remainder of 17.
Put 1 as the next digit of the answer. 
Result so far: 17255.21
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.

Advancing to step 9:
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: 17255.217
Subtracting 161 from 170 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.

Let's proceed to step 10:
23 goes into 90 3 times with a remainder of 21.
Record the quotient 3 as the next digit in the result. 
Result so far: 17255.2173
If we take 69 away from 90, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 11:
23 goes into 210 9 times with a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 17255.21739
Subtract 207 from 210 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 12:
30 divided by 23 is 1 with a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 17255.217391
If we subtract 23 from 30, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 13:
If we divide 70 by 23, we get 3 and a remainder of 1.
The next digit of our result is 3. 
Result so far: 17255.2173913
If we take 69 away from 70, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 14:
23 goes into 10 0 times with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 17255.2173913
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

In conclusion, the division gives 17255.2173913 with a balance of 1e-08.