Let's divide 640317 by 18
We want to figure out the number of times 640317 can be divided by 18.

Advancing to step 1:
6 divided by 18 is 0 with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 18

Moving on to step 2:
18 can be fit into 64 3 times, resulting in a remainder of 10.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtracting 54 from 64 leaves us with 10.
Grab the next digit (0) from the dividend, add it to 10, then carry on: 100 / 18

On to step 3:
18 can be fit into 100 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 35.0
Subtract 90 from 100 to get 10.
Append the next digit (3) from the dividend to 10 and continue with: 103 / 18

Moving on to step 4:
18 can be fit into 103 5 times, resulting in a remainder of 13.
The number 5 becomes the next digit in our result. 
Result so far: 355.0
Subtract 90 from 103 to get 13.
Include the next digit (1) from the dividend after 13, then repeat: 131 / 18

On to step 5:
18 can be fit into 131 7 times, resulting in a remainder of 5.
Record the quotient 7 as the next digit in the result. 
Result so far: 3557.0
Deduct 126 from 131 and we're left with 5.
Take the next digit (7) from the dividend and append it to 5, then repeat: 57 / 18

On to step 6:
18 can be fit into 57 3 times, resulting in a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 35573.0
Subtract 54 from 57 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
If we divide 30 by 18, we get 1 and a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 35573.1
Subtracting 18 from 30 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 8:
When dividing 120 by 18, we get 6 with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 35573.16
If we take 108 away from 120, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 9:
If we divide 120 by 18, we get 6 and a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 35573.166
Deduct 108 from 120 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

In conclusion, the division gives 35573.166 with a balance of 0.0012.