We look at the division of 640996 by 39 
We want to divide 640996 by 39.

Advancing to step 1:
The number 39 fits into 6 0 times, leaving a remainder of 6.
Use 0 as the next digit of our solution. 
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 / 39

On to step 2:
The number 39 fits into 64 1 times, leaving a remainder of 25.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 39 away from 64, we end up with 25.
Bring next digit (0) of the dividend behind the 25 and repeat the process: 250 / 39

On to step 3:
39 goes into 250 6 times with a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
If we subtract 234 from 250, we get 16.
Grab the next digit (9) from the dividend, add it to 16, then carry on: 169 / 39

On to step 4:
If we divide 169 by 39, we get 4 and a remainder of 13.
The number 4 becomes the next digit in our result. 
Result so far: 164.0
Subtracting 156 from 169 leaves us with 13.
Grab the next digit (9) from the dividend, add it to 13, then carry on: 139 / 39

Advancing to step 5:
When dividing 139 by 39, we get 3 with a remainder of 22.
Use 3 as the next digit of our solution. 
Result so far: 1643.0
If we subtract 117 from 139, we get 22.
Bring next digit (6) of the dividend behind the 22 and repeat the process: 226 / 39

On to step 6:
The number 39 fits into 226 5 times, leaving a remainder of 31.
The next digit of our result is 5. 
Result so far: 16435.0
The remainder is 31 after subtracting 195 from 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 7:
When dividing 310 by 39, we get 7 with a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 16435.7
Subtract 273 from 310 to get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 8:
39 goes into 370 9 times with a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 16435.79
If we take 351 away from 370, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 9:
39 can be fit into 190 4 times, resulting in a remainder of 34.
Write down 4 as next digit of the result. 
Result so far: 16435.794
If we take 156 away from 190, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 10:
The number 39 fits into 340 8 times, leaving a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 16435.7948
The remainder is 28 after subtracting 312 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 11:
The number 39 fits into 280 7 times, leaving a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 16435.79487
Subtract 273 from 280 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 12:
39 can be fit into 70 1 times, resulting in a remainder of 31.
Use 1 as the next digit of our solution. 
Result so far: 16435.794871
Deduct 39 from 70 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 13:
If we divide 310 by 39, we get 7 and a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 16435.7948717
Subtract 273 from 310 to get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 14:
The number 39 fits into 370 9 times, leaving a remainder of 19.
The number 9 becomes the next digit in our result. 
Result so far: 16435.79487179
Deduct 351 from 370 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final result is 16435.79487179 with a remainder of 1.9e-08.