We divide 402770 by 78
Our goal is to divide 402770 by 78.

Going ahead to step 1:
If we divide 4 by 78, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 78

Step 2:
The number 78 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Take the next digit (2) from the dividend and append it to 40, then repeat: 402 / 78

On to step 3:
The number 78 fits into 402 5 times, leaving a remainder of 12.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 390 from 402, we get 12.
Grab the next digit (7) from the dividend, add it to 12, then carry on: 127 / 78

On to step 4:
127 divided by 78 is 1 with a remainder of 49.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
Subtracting 78 from 127 leaves us with 49.
Include the next digit (7) from the dividend after 49, then repeat: 497 / 78

Moving on to step 5:
78 can be fit into 497 6 times, resulting in a remainder of 29.
Write down 6 as next digit of the result. 
Result so far: 516.0
The remainder is 29 after subtracting 468 from 497.
Grab the next digit (0) from the dividend, add it to 29, then carry on: 290 / 78

On to step 6:
The number 78 fits into 290 3 times, leaving a remainder of 56.
Use 3 as the next digit of our solution. 
Result so far: 5163.0
If we subtract 234 from 290, we get 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 7:
78 can be fit into 560 7 times, resulting in a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 5163.7
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.

Moving on to step 8:
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: 5163.71
Subtracting 78 from 140 leaves us with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Going ahead to step 9:
If we divide 620 by 78, we get 7 and a remainder of 74.
The number 7 becomes the next digit in our result. 
Result so far: 5163.717
If we subtract 546 from 620, we get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Going ahead to step 10:
When dividing 740 by 78, we get 9 with a remainder of 38.
Write down 9 as next digit of the result. 
Result so far: 5163.7179
Subtracting 702 from 740 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 11:
The number 78 fits into 380 4 times, leaving a remainder of 68.
Write down 4 as next digit of the result. 
Result so far: 5163.71794
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.

On to step 12:
78 can be fit into 680 8 times, resulting in a remainder of 56.
Put 8 as the next digit of the answer. 
Result so far: 5163.717948
If we subtract 624 from 680, we get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Step 13:
78 can be fit into 560 7 times, resulting in a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 5163.7179487
The remainder is 14 after subtracting 546 from 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 14:
If we divide 140 by 78, we get 1 and a remainder of 62.
Write down 1 as next digit of the result. 
Result so far: 5163.71794871
Deduct 78 from 140 and we're left with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Our division results in 5163.71794871 with a remaining 6.2e-08.