We look at the division of 639580 by 31 
We want to divide 639580 by 31.

On to step 1:
If we divide 6 by 31, we get 0 and a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Bring next digit (3) of the dividend behind the 6 and repeat the process: 63 / 31

Going ahead to step 2:
The number 31 fits into 63 2 times, leaving a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 62 from 63, we get 1.
Bring next digit (9) of the dividend behind the 1 and repeat the process: 19 / 31

Advancing to step 3:
31 can be fit into 19 0 times, resulting in a remainder of 19.
Write down 0 as next digit of the result. 
Result so far: 20.0
If we subtract 0 from 19, we get 19.
Take the next digit (5) from the dividend and append it to 19, then repeat: 195 / 31

On to step 4:
The number 31 fits into 195 6 times, leaving a remainder of 9.
Record the quotient 6 as the next digit in the result. 
Result so far: 206.0
Subtracting 186 from 195 leaves us with 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 31

Step 5:
The number 31 fits into 98 3 times, leaving a remainder of 5.
Put 3 as the next digit of the answer. 
Result so far: 2063.0
If we subtract 93 from 98, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 31

Advancing to step 6:
50 divided by 31 is 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 20631.0
If we subtract 31 from 50, we get 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 7:
190 divided by 31 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 20631.6
Deduct 186 from 190 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.

Advancing to step 8:
If we divide 40 by 31, we get 1 and a remainder of 9.
The next digit of our result is 1. 
Result so far: 20631.61
If we subtract 31 from 40, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 9:
When dividing 90 by 31, we get 2 with a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 20631.612
If we take 62 away from 90, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 10:
The number 31 fits into 280 9 times, leaving a remainder of 1.
The next digit of our result is 9. 
Result so far: 20631.6129
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 11:
10 divided by 31 is 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 20631.6129
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 12:
31 goes into 100 3 times with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 20631.612903
Subtracting 93 from 100 leaves us with 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 13:
31 goes into 70 2 times with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 20631.6129032
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 14:
When dividing 80 by 31, we get 2 with a remainder of 18.
The next digit of our result is 2. 
Result so far: 20631.61290322
If we take 62 away from 80, we end up 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.

Our division results in 20631.61290322 with a remaining 1.8e-08.