We look at the division of 640317 by 38 
Our goal is to divide 640317 by 38.

Advancing to step 1:
38 goes into 6 0 times with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (4) from the dividend, add it to 6, then carry on: 64 / 38

Going ahead to step 2:
64 divided by 38 is 1 with a remainder of 26.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 38 from 64, we get 26.
Grab the next digit (0) from the dividend, add it to 26, then carry on: 260 / 38

Let's proceed to step 3:
38 can be fit into 260 6 times, resulting in a remainder of 32.
The next digit of our result is 6. 
Result so far: 16.0
Subtract 228 from 260 to get 32.
Include the next digit (3) from the dividend after 32, then repeat: 323 / 38

Advancing to step 4:
38 goes into 323 8 times with a remainder of 19.
Put 8 as the next digit of the answer. 
Result so far: 168.0
If we take 304 away from 323, we end up with 19.
Fetch the next digit (1) from the dividend, attach it to 19 and continue: 191 / 38

Advancing to step 5:
If we divide 191 by 38, we get 5 and a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 1685.0
If we subtract 190 from 191, we get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 38

Going ahead to step 6:
17 divided by 38 is 0 with a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 16850.0
Subtract 0 from 17 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 7:
If we divide 170 by 38, we get 4 and a remainder of 18.
The number 4 becomes the next digit in our result. 
Result so far: 16850.4
Subtracting 152 from 170 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 8:
If we divide 180 by 38, we get 4 and a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 16850.44
Subtract 152 from 180 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

After the division, we end up with 16850.44 and a remainder of 0.028.