940668 divided by 18 
We're looking to find how many times 18 goes into 940668.

Advancing to step 1:
9 divided by 18 is 0 with a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Take the next digit (4) from the dividend and append it to 9, then repeat: 94 / 18

Moving on to step 2:
94 divided by 18 is 5 with a remainder of 4.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 90 from 94 leaves us with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 18

Advancing to step 3:
40 divided by 18 is 2 with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 52.0
Subtracting 36 from 40 leaves us with 4.
Grab the next digit (6) from the dividend, add it to 4, then carry on: 46 / 18

Let's proceed to step 4:
The number 18 fits into 46 2 times, leaving a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 522.0
If we take 36 away from 46, we end up with 10.
Grab the next digit (6) from the dividend, add it to 10, then carry on: 106 / 18

On to step 5:
106 divided by 18 is 5 with a remainder of 16.
Use 5 as the next digit of our solution. 
Result so far: 5225.0
Deduct 90 from 106 and we're left with 16.
Take the next digit (8) from the dividend and append it to 16, then repeat: 168 / 18

Step 6:
168 divided by 18 is 9 with a remainder of 6.
Record the quotient 9 as the next digit in the result. 
Result so far: 52259.0
Subtracting 162 from 168 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
18 can be fit into 60 3 times, resulting in a remainder of 6.
The next digit of our result is 3. 
Result so far: 52259.3
If we take 54 away from 60, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
If we divide 60 by 18, we get 3 and a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 52259.33
If we subtract 54 from 60, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

After the division, we end up with 52259.33 and a remainder of 0.006.