Let's divide 640838 by 78
We want to divide 640838 by 78.

Going ahead to step 1:
78 can be fit into 6 0 times, resulting in a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (4) from the dividend, add it to 6, then carry on: 64 / 78

Step 2:
78 can be fit into 64 0 times, resulting in a remainder of 64.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 64, we end up with 64.
Grab the next digit (0) from the dividend, add it to 64, then carry on: 640 / 78

Going ahead to step 3:
78 goes into 640 8 times with a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 8.0
If we subtract 624 from 640, we get 16.
Grab the next digit (8) from the dividend, add it to 16, then carry on: 168 / 78

Going ahead to step 4:
168 divided by 78 is 2 with a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 82.0
If we subtract 156 from 168, we get 12.
Append the next digit (3) from the dividend to 12 and continue with: 123 / 78

Let's proceed to step 5:
123 divided by 78 is 1 with a remainder of 45.
The number 1 becomes the next digit in our result. 
Result so far: 821.0
Deduct 78 from 123 and we're left with 45.
Bring next digit (8) of the dividend behind the 45 and repeat the process: 458 / 78

Advancing to step 6:
When dividing 458 by 78, we get 5 with a remainder of 68.
Put 5 as the next digit of the answer. 
Result so far: 8215.0
If we take 390 away from 458, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Let's proceed to step 7:
The number 78 fits into 680 8 times, leaving a remainder of 56.
Record the quotient 8 as the next digit in the result. 
Result so far: 8215.8
If we take 624 away from 680, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 8:
When dividing 560 by 78, we get 7 with a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 8215.87
Subtracting 546 from 560 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 9:
If we divide 140 by 78, we get 1 and a remainder of 62.
The next digit of our result is 1. 
Result so far: 8215.871
Subtract 78 from 140 to get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Advancing to step 10:
The number 78 fits into 620 7 times, leaving a remainder of 74.
Put 7 as the next digit of the answer. 
Result so far: 8215.8717
Subtracting 546 from 620 leaves us with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

On to step 11:
The number 78 fits into 740 9 times, leaving a remainder of 38.
The next digit of our result is 9. 
Result so far: 8215.87179
If we subtract 702 from 740, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 12:
When dividing 380 by 78, we get 4 with a remainder of 68.
The number 4 becomes the next digit in our result. 
Result so far: 8215.871794
If we take 312 away from 380, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Moving on to step 13:
78 can be fit into 680 8 times, resulting in a remainder of 56.
Write down 8 as next digit of the result. 
Result so far: 8215.8717948
If we take 624 away from 680, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Let's proceed to step 14:
The number 78 fits into 560 7 times, leaving a remainder of 14.
The next digit of our result is 7. 
Result so far: 8215.87179487
Subtract 546 from 560 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final result is 8215.87179487 with a remainder of 1.4e-08.