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

Let's proceed 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 subtract 0 from 6, we get 6.
Include the next digit (4) from the dividend after 6, then repeat: 64 / 18

On to step 2:
The number 18 fits into 64 3 times, leaving a remainder of 10.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 54 from 64 leaves us with 10.
Append the next digit (0) from the dividend to 10 and continue with: 100 / 18

Moving on to step 3:
The number 18 fits into 100 5 times, leaving a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 35.0
Subtracting 90 from 100 leaves us with 10.
Grab the next digit (4) from the dividend, add it to 10, then carry on: 104 / 18

Going ahead to step 4:
18 goes into 104 5 times with a remainder of 14.
Use 5 as the next digit of our solution. 
Result so far: 355.0
The remainder is 14 after subtracting 90 from 104.
Fetch the next digit (8) from the dividend, attach it to 14 and continue: 148 / 18

Step 5:
The number 18 fits into 148 8 times, leaving a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 3558.0
If we take 144 away from 148, we end up with 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 18

On to step 6:
18 can be fit into 49 2 times, resulting in a remainder of 13.
Put 2 as the next digit of the answer. 
Result so far: 35582.0
If we subtract 36 from 49, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
If we divide 130 by 18, we get 7 and a remainder of 4.
The next digit of our result is 7. 
Result so far: 35582.7
Subtracting 126 from 130 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
40 divided by 18 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 35582.72
Deduct 36 from 40 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 9:
40 divided by 18 is 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 35582.722
If we subtract 36 from 40, we 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.

The quotient of the division is 35582.722, and the remainder is 0.0004.