Let's divide 399464 by 18
Our goal is to divide 399464 by 18.

Going ahead to step 1:
If we divide 3 by 18, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 18

Step 2:
When dividing 39 by 18, we get 2 with a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 36 from 39, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 18

Going ahead to step 3:
18 can be fit into 39 2 times, resulting in a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
If we subtract 36 from 39, we get 3.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 18

Advancing to step 4:
If we divide 34 by 18, we get 1 and a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 221.0
If we take 18 away from 34, we end up with 16.
Take the next digit (6) from the dividend and append it to 16, then repeat: 166 / 18

Step 5:
If we divide 166 by 18, we get 9 and a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 2219.0
The remainder is 4 after subtracting 162 from 166.
Fetch the next digit (4) from the dividend, attach it to 4 and continue: 44 / 18

Going ahead to step 6:
When dividing 44 by 18, we get 2 with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 22192.0
The remainder is 8 after subtracting 36 from 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 7:
The number 18 fits into 80 4 times, leaving a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 22192.4
If we subtract 72 from 80, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 8:
When dividing 80 by 18, we get 4 with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 22192.44
Subtracting 72 from 80 leaves us 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.

Our division results in 22192.44 with a remaining 0.008.