We divide 399169 by 8
Let's see how many times 8 fits into 399169.

Step 1:
If we divide 3 by 8, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 8

On to step 2:
If we divide 39 by 8, we get 4 and a remainder of 7.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 7 after subtracting 32 from 39.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 8

Step 3:
When dividing 79 by 8, we get 9 with a remainder of 7.
The number 9 becomes the next digit in our result. 
Result so far: 49.0
Subtracting 72 from 79 leaves us with 7.
Bring next digit (1) of the dividend behind the 7 and repeat the process: 71 / 8

On to step 4:
8 goes into 71 8 times with a remainder of 7.
Put 8 as the next digit of the answer. 
Result so far: 498.0
The remainder is 7 after subtracting 64 from 71.
Take the next digit (6) from the dividend and append it to 7, then repeat: 76 / 8

Advancing to step 5:
8 goes into 76 9 times with a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 4989.0
Subtract 72 from 76 to get 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 8

On to step 6:
If we divide 49 by 8, we get 6 and a remainder of 1.
The number 6 becomes the next digit in our result. 
Result so far: 49896.0
Deduct 48 from 49 and we're left 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.

On to step 7:
The number 8 fits into 10 1 times, leaving a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 49896.1
Subtract 8 from 10 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.

Moving on to step 8:
If we divide 20 by 8, we get 2 and a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 49896.12
The remainder is 4 after subtracting 16 from 20.
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 9:
The number 8 fits into 40 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 49896.125
If we take 40 away from 40, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 49896.125
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 11:
8 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 49896.125
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 49896.125, with a leftover of 0.0.