We're dividing 4027979 by 639 
We want to divide 4027979 by 639.

Let's proceed to step 1:
If we divide 4 by 639, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 639

On to step 2:
If we divide 40 by 639, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Fetch the next digit (2) from the dividend, attach it to 40 and continue: 402 / 639

Step 3:
639 goes into 402 0 times with a remainder of 402.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 402 after subtracting 0 from 402.
Fetch the next digit (7) from the dividend, attach it to 402 and continue: 4027 / 639

Step 4:
When dividing 4027 by 639, we get 6 with a remainder of 193.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Deduct 3834 from 4027 and we're left with 193.
Fetch the next digit (9) from the dividend, attach it to 193 and continue: 1939 / 639

On to step 5:
639 goes into 1939 3 times with a remainder of 22.
Record the quotient 3 as the next digit in the result. 
Result so far: 63.0
Subtract 1917 from 1939 to get 22.
Fetch the next digit (7) from the dividend, attach it to 22 and continue: 227 / 639

Step 6:
639 goes into 227 0 times with a remainder of 227.
Record the quotient 0 as the next digit in the result. 
Result so far: 630.0
The remainder is 227 after subtracting 0 from 227.
Take the next digit (9) from the dividend and append it to 227, then repeat: 2279 / 639

On to step 7:
639 goes into 2279 3 times with a remainder of 362.
Write down 3 as next digit of the result. 
Result so far: 6303.0
Subtracting 1917 from 2279 leaves us with 362.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3620, and continue the process.

Step 8:
If we divide 3620 by 639, we get 5 and a remainder of 425.
Record the quotient 5 as the next digit in the result. 
Result so far: 6303.5
If we subtract 3195 from 3620, we get 425.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4250, and continue the process.

Advancing to step 9:
4250 divided by 639 is 6 with a remainder of 416.
Put 6 as the next digit of the answer. 
Result so far: 6303.56
Subtracting 3834 from 4250 leaves us with 416.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Let's proceed to step 10:
When dividing 4160 by 639, we get 6 with a remainder of 326.
Put 6 as the next digit of the answer. 
Result so far: 6303.566
Subtract 3834 from 4160 to get 326.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3260, and continue the process.

After the division, we end up with 6303.566 and a remainder of 0.0326.