Let's divide 419797 by 18
We're looking to find how many times 18 goes into 419797.

Step 1:
4 divided by 18 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (1) from the dividend to 4 and continue with: 41 / 18

On to step 2:
18 can be fit into 41 2 times, resulting in a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 36 from 41 and we're left with 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 18

Step 3:
If we divide 59 by 18, we get 3 and a remainder of 5.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
If we subtract 54 from 59, we get 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 18

Advancing to step 4:
57 divided by 18 is 3 with a remainder of 3.
The next digit of our result is 3. 
Result so far: 233.0
If we subtract 54 from 57, we get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 18

On to step 5:
If we divide 39 by 18, we get 2 and a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 2332.0
Subtract 36 from 39 to get 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 18

Going ahead to step 6:
When dividing 37 by 18, we get 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 23322.0
If we subtract 36 from 37, we get 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:
18 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 23322.0
The remainder is 10 after subtracting 0 from 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 8:
100 divided by 18 is 5 with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 23322.05
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.

Moving on to step 9:
The number 18 fits into 100 5 times, leaving a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 23322.055
If we subtract 90 from 100, 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.

The final result is 23322.055 with a remainder of 0.001.