We look at the division of 313366 by 18 
We want to divide 313366 by 18.

Advancing to step 1:
If we divide 3 by 18, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 18

Step 2:
The number 18 fits into 31 1 times, leaving a remainder of 13.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 18 away from 31, we end up with 13.
Append the next digit (3) from the dividend to 13 and continue with: 133 / 18

Moving on to step 3:
18 can be fit into 133 7 times, resulting in a remainder of 7.
The next digit of our result is 7. 
Result so far: 17.0
If we take 126 away from 133, we end up with 7.
Bring next digit (3) of the dividend behind the 7 and repeat the process: 73 / 18

Step 4:
18 can be fit into 73 4 times, resulting in a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 174.0
Deduct 72 from 73 and we're left with 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 18

Let's proceed to step 5:
18 goes into 16 0 times with a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 1740.0
If we take 0 away from 16, we end up with 16.
Take the next digit (6) from the dividend and append it to 16, then repeat: 166 / 18

On to step 6:
18 can be fit into 166 9 times, resulting in a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 17409.0
Subtract 162 from 166 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.

Advancing to step 7:
18 goes into 40 2 times with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 17409.2
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
When dividing 40 by 18, we get 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 17409.22
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 17409.22 with a remaining 0.004.