We look at the division of 397783 by 18 
We're looking to find how many times 18 goes into 397783.

Step 1:
When dividing 3 by 18, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 18

Advancing to 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
Deduct 36 from 39 and we're left with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 18

Step 3:
18 goes into 37 2 times with a remainder of 1.
The next digit of our result is 2. 
Result so far: 22.0
If we take 36 away from 37, we end up with 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 18

Advancing to step 4:
The number 18 fits into 17 0 times, leaving a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 220.0
Subtract 0 from 17 to get 17.
Fetch the next digit (8) from the dividend, attach it to 17 and continue: 178 / 18

Step 5:
18 can be fit into 178 9 times, resulting in a remainder of 16.
The number 9 becomes the next digit in our result. 
Result so far: 2209.0
If we subtract 162 from 178, we get 16.
Grab the next digit (3) from the dividend, add it to 16, then carry on: 163 / 18

Step 6:
If we divide 163 by 18, we get 9 and a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 22099.0
Subtracting 162 from 163 leaves us 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.

Let's proceed to step 7:
When dividing 10 by 18, we get 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 22099.0
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
100 divided by 18 is 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 22099.05
Deduct 90 from 100 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.

Advancing to step 9:
If we divide 100 by 18, we get 5 and a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 22099.055
If we take 90 away from 100, we end up 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.

The final outcome is 22099.055, with a leftover of 0.001.