We divide 399829 by 18
Let's see how many times 18 fits into 399829.

Moving on to step 1:
The number 18 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 18

Moving on to step 2:
The number 18 fits into 39 2 times, leaving a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 3 after subtracting 36 from 39.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 18

Going ahead to step 3:
18 goes into 39 2 times with a remainder of 3.
The next digit of our result is 2. 
Result so far: 22.0
Deduct 36 from 39 and we're left with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 18

Advancing to step 4:
The number 18 fits into 38 2 times, leaving a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 222.0
If we subtract 36 from 38, we get 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 18

Advancing to step 5:
If we divide 22 by 18, we get 1 and a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 2221.0
Subtract 18 from 22 to get 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 18

Advancing to step 6:
18 goes into 49 2 times with a remainder of 13.
Use 2 as the next digit of our solution. 
Result so far: 22212.0
If we subtract 36 from 49, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 7:
The number 18 fits into 130 7 times, leaving a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 22212.7
Subtract 126 from 130 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 8:
If we divide 40 by 18, we get 2 and a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 22212.72
Subtracting 36 from 40 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.

Going ahead to step 9:
40 divided by 18 is 2 with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 22212.722
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 22212.722, with a leftover of 0.0004.