We divide 381317 by 18
Our goal is to divide 381317 by 18.

Let's proceed to step 1:
18 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 18

Going ahead to step 2:
When dividing 38 by 18, we get 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 36 away from 38, we end up with 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 18

Advancing to step 3:
When dividing 21 by 18, we get 1 with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
Deduct 18 from 21 and we're left with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 18

Moving on to step 4:
18 goes into 33 1 times with a remainder of 15.
Use 1 as the next digit of our solution. 
Result so far: 211.0
If we subtract 18 from 33, we get 15.
Take the next digit (1) from the dividend and append it to 15, then repeat: 151 / 18

On to step 5:
When dividing 151 by 18, we get 8 with a remainder of 7.
Use 8 as the next digit of our solution. 
Result so far: 2118.0
Deduct 144 from 151 and we're left with 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 18

Going ahead to step 6:
77 divided by 18 is 4 with a remainder of 5.
The number 4 becomes the next digit in our result. 
Result so far: 21184.0
Subtracting 72 from 77 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
18 can be fit into 50 2 times, resulting in a remainder of 14.
Put 2 as the next digit of the answer. 
Result so far: 21184.2
Subtract 36 from 50 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 8:
18 goes into 140 7 times with a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 21184.27
If we take 126 away from 140, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 9:
When dividing 140 by 18, we get 7 with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 21184.277
Subtract 126 from 140 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

After the division, we end up with 21184.277 and a remainder of 0.0014.